time he regained his fitness, manager Danny Cowley, who had brought Pett to the club, had departed and was replaced by Michael Appleton, who told him that he would not play in any further League One matches but would continue to train with the first team. His departure from the club was confirmed on 28 May 2020. Return to Stevenage Without a club at the start of the season, Pett rejoined League Two club Stevenage on 3 November 2020, on a contract until the end of the 2020–21 season. Pett made his first appearance since returning to Stevenage in the club's FA Cup first round match with Concord Rangers on 7 November 2020, assisting the first goal in an eventual penalty shoot-out victory. He scored his first goal since re-joining the club in a 2–1 defeat to Bolton Wanderers on 21 November 2020. Pett made 34 appearances during the campaign, scoring twice. Stevenage chairman Phil Wallace described Pett as "outstanding" during the player's second spell at the club, with Stevenage having improved from last place to 14th position in the League Two standings during his time there. Port Vale Pett was offered a new contract by Stevenage, which he did not sign after informing the club that he would be relocating further north. He subsequently signed a two-year contract with fellow League Two club Port Vale on 29 June 2021. With Brad Walker out injured, Pett was a composed presence as he established himself in a midfield holding role at the start of the 2021–22 season, whilst directing central midfield partners Tom Conlon and Ben Garrity to do the running work. He captained the team after Conlon was ruled out injured for the second half of the season. On 2 April, Pett suffered a grade three hamstring tear and was initially ruled out of action for up to twelve weeks; he credited the medical department after recovering within four weeks. He started in the play-off final at Wembley Stadium as Vale secured promotion with a 3–0 victory over Mansfield Town; Michael Baggaley of The Sentinel wrote that "[Pett was] calm, composed and classy in the midfield to help his side control the game". Pett underwent an operation to fix a niggling spinal disc herniation in his back in the 2022–23 pre-season and had to regain his fitness during the early part of the campaign, whilst new signing Funso Ojo was