Liam Davis grabbed a dramatic stoppage-time equaliser to keep alive Northampton's hopes of avoiding the drop as they salvaged a 2-2 draw at home to Rotherham.
But they had to overcome a 2-0 interval deficit after making the worst possible start in their bid to end a run of 16 games without a win.
Rotherham took a fifth-minute lead when Nicky Law's shot was deflected past his own keeper by Paul Rodgers.
The visitors went on to dominate the first half, with Mark Bradley just off target while Tom Newey saw his free-kick tipped around the post by Steve Collin.
Rotherham doubled their advantage on the stroke of half-time when Northampton failed to clear another cross and Jason Taylor pounced to fire home from 15 yards.
Northampton boss Gary Johnson threw on Michael Uwezu and Leon McKenzie at the start of the second half in a bid to get back into the game.
It was the substitutes who combined to reduce the arrears in the 68th when Uwezu shot against the foot of the post and in the ensuing scramble McKenzie forced home the rebound from close range.
Northampton piled on the pressure in the closing stages and in the second minute of stoppage Rotherham could only partially clear and Davis struck a low drive through a crowded box to send the Sixfields crowd wild.
Copyright (c) PA Sport 2009, All Rights Reserved.
Do YOU want to write for GiveMeSport? Get started today by signing-up and submitting an article HERE: https://www.givemesport.com/writeforgms