Chesterfield's play-off hopes suffered a blow as they were beaten 3-2 at home by Shrewsbury, Sam Stubbs heading in a stoppage-time winner to settle a swinging contest.
Tom Naylor put the Spireites ahead just after the half-hour, but Trey Ogunsuyi struck either side of half-time before Tom Pearce's late equaliser was undone by Stubbs at the death.
Naylor Breaks the Deadlock
Chesterfield made the breakthrough in the 31st minute when Naylor finished from just outside the six-yard box after Dilan Markanday's low cross picked him out.