Barnett, who was Posh's first £1million signing, came off the bench to rescue a point for Micky Mellon's side.
His 79th minute strike on his first return to London Road cancelled out Conor Washington's 56th-minute opener.
But for the second game in a row, Salop had a player stretchered off, losing Ian Black just before the break to follow hot on the heels of Jayson Leutwiler against Grismby.
Posh outplayed Town for long periods and created most of the chances, but with Anthony Gerrard at the forefront and goalkeeper Mark Halstead in solid form, Salop held firm.
In the first-half, Ricardo Santos threatened three times with headers - Halstead saving one - while the shot-stopper denied Chris Forrester, Washington twice and Marcus Maddison.
Peterborough (4-3-3): Alnwick; Smith, Santos, Bostwick, Elder; Forrester, Maddison (Coulibaly 76), Oztumer; Beautyman (Fox 67), Washington, Angol (Taylor 59).
Subs not used: Baldwin, Lopes, Addison, Henry (gk).
Shrewsbury Town (4-4-2): Halstead; Grandison, Gerrard, Knight-Percival, Brown; Black (Lawrence 45), Ogogo, Clark (Barnett 70), Vernon; Collins (McAlinden 75), Kaikai.
Subs not used: Whitbread, Whalley, Smith, Burton (gk).
Referee: Graham Horwood (Beds).
After the break the game opened up and Town came into it more but apart from Washington's goal, Posh wasted what few chances they created.
Town made three changes to the line-up that drew 0-0 at Grimsby in the FA Cup second round on Monday.
Halstead and midfielders Black and Jordan Clark replaced Leutwiler, skipper Liam Lawrence and Shaun Whalley.
Black made an immediate return after suspension, Clark was making his first league start since Colchester on October 10 and Whalley was axed after his first start for the club at Blundell Park.
With Lawrence dropped, James Collins retained the captain's armband.
Zak Whitbread was on the bench after missing the last three matches with a hamstring injury and he was joined by Barnett, who was Posh's first £1million signing.
Town centre-back Nathaniel Knight-Percival was facing his old club for the first time since leaving London Road in June 2014.
Ex-Salop winger Jon Taylor had recovered from an ankle injury to take his place among the substitutes for Posh. Mellon reverted to a diamond formation after several games with an orthodox 4-4-2.
Black was at the base, Scott Vernon was at the tip and Abu Ogogo was deployed towards the right and Clark to the left, with Sullay Kaikai up front alongside Collins.
Posh dominated the first half, creating numerous chances and the only surprise at the break was that it was goalless.
Harry Beautyman had the first opening after eight minutes, heading over from Callum Elder's cross.
Elder went on to torment Town in the first period and in particular Jermaine Grandison.
Ricardo Santos was next to threaten, his 10-yard header drifting just wide from Erhun Oztumer's 21st-minute corner.
Two minutes later, the big Portuguese centre-back forced the first serious save from Halstead, who blocked the header with his hands from point-blank range, after Oztumer's corner had been flicked on.
Then came Town's only attempt of the first period on 29 when Collins curled a few feet wide from the left-hand corner of the box.
Posh continued to apply the pressure and midfielder Forrester was inches away from long range when his drive flew just wide.
Washington's first chance came on 35 when his firm drive was saved by Halstead at the foot of the post.
Washington had the next opening on 42 when he breezed inside Grandison far too easily deep inside the box, before cutting inside only for Halstead to block again.
Then came the injury to Black, who lunged in late on Elder on the far touchline, forcing a long delay before he was replaced by Lawrence.
When the action resumed with three minutes of time added on, Santos headed the resulting free kick just wide from Elder's kick.
Posh threatened twice again before half-time. First Maddison's swerving free kick from 30 yards was tipped wide by Halstead at full stretch.
Then from the resulting corner, Oztumer cut inside and flashed a left-foot drive inches wide of the far post after exchanging passes with Maddison.
Salop had their best spell immediately after the break, but apart from a half chance for Vernon which was blocked after goalkeeper Ben Alnwick spilled Lawrence's free kick, they didn't seriously threaten.
Instead it was Posh who deservedly broke the deadlock, as Washington scampered onto Oztumer's chip over the top and expertly dispatched a low left-foot shot into the bottom corner.
Halstead was in action again to scramble away a shot then acrobatically tip over a free kick from Washington.
Town introduced Barnett and Liam McAlinden in a bid to get back into the game on 70 and 75 minutes for Jordan Clark and Collins respectively.
The equaliser came out of the blue, with Barnett tapping home after Alnwick failed to hold Kaikai's vicious shot from the edge of the box.
Sub Souleymane Coulibaly had two efforts blocked then hoisted his third shot blocked, while Washington curled over trying to pick his spot as Posh pushed for the winner.
But Town held on to earn another precious point in their quest for survival.

5. 1f1a5a4b-d12e-4cdc-8b37-f503bfcfcdea.jpg

6. e1234840-e241-4309-bcf9-6a37124445c3.jpg

7. 0adcd39f-a865-499e-924a-d3f4f524726d.jpg


