TOTTON let slip a two-goal half-time lead but went on to snatch all three points thanks to a goalkeeping error.
The Stags went in front on 26 minutes when Ryan Hill’s long ball up-field reached Dave Allen who coolly lobbed visiting keeper Andy Kemp from just inside the area.
The lead was doubled six minutes later when Mike Gosney curled a delightful low free kick around the wall and past Kemp.
The visitors started the second period brightly and 12 minutes after the break Ashley Spencer’s low drive beat Gareth Barfoot at his left hand post to reduce the arrears. And with 72 minutes gone Bedworth were level as Mitchell Piggon turned in the box and fired into the corner but just three minutes later the Stags grabbed the winner when Gosney’s corner was mis-punched into the net by the unfortunate Kemp.