Kieran Trippier's free-kick earned a point for Barnsley and prevented South Yorkshire rivals Doncaster from securing their Championship status.
Two goals from Jason Euell, either side of a Stephen Foster leveller, had put Rovers on course for a deserved win.
This would have taken them eight points clear of the bottom three with two games left to play.
But Trippier struck late on, meaning Doncaster still require one more point to ensure their safety.
In truth, it would require an unlikely set of results for Doncaster to be relegated, with Sheffield United and Scunthorpe both needing to considerably improve their goal difference in winning their last two games, while also hoping Rovers lose both their remaining fixtures.
Barnsley's safety was sealed on Saturday but their manager, Mark Robins, must have some concerns about their end-of-season form, as they have managed only one win in their last eight games.
There were plenty of chances in the first half, with Tykes keeper Luke Steele twice tested, firstly from a James Hayter header and then from a Wayne Thomas shot.
At the other end, Jacob Mellis dragged a shot just wide from the edge of the area, before Nathan Doyle brought a smart save out of Gary Woods and, from the resulting corner, Matt Hill sliced wide when unmarked at the back post.
Rovers took the lead in the 59th minute when Simon Gillett fired a ball across goal and Euell was handily placed to sidefoot the ball home.
They almost doubled their lead when Thomas clipped the post with a header, but instead were pegged back when Foster converted from a Jacob Butterfield corner.
The home side then gifted their opponents a second goal when Steele spilled a tame John Oster cross straight to Euell and the striker rolled in a simple finish.
This appeared to be enough for the visitors until Ryan Mason's foul on Doyle gave Trippier the chance to curl home a stunning free-kick from 25 yards to earn his side a point.