She was the Shadow Secretary of State for Business, Energy and Industrial Strategy in Jeremy Corbyn's Shadow Cabinet from February 2017 to April 2020, losing the position when Keir Starmer became the leader of the party.