Daniel Webster saw red for the second time in three games but Town dug deep to graft out a 5-4 win over Radcliffe Olympic FC and progress into the next round of the Nottinghamshire FA Intermediate Cup.
Bawtry, who started the game with 10 men, went down early on when Phil Colton failed to clear a throughball and Olympic pounced.
With the early exchanges out of the way, Town were starting to find their stride and most of the time dominated the 11 they were competing against.
Nick Staff then latched onto a Steffan Cairns throughball and he lobbed the ‘keeper to announce his return to the team in style.
Town pinched the lead on 32 minutes as Craig Sprigg slipped through Takrem Shah and he rounded the advancing ‘keeper for 2-1.
Bawtry found themselves 3-1 up through a Cairns effort from range before half time.
However, Radcliffe reduced the deficit after the break before levelling proceedings following a sustained amount of pressure.
As Olympic fired in their fourth, Webster let his frustrations known to the linesman and was dismissed from the game following abusive language. Town have also pledged to deal with the incident at club level.
Rallying his side on, Simon Minshall got a superb response out of his 10 men as they struck with five minutes to spare.
Jermaine Green squared to Cairns who turned and unleashed a left footed effort into the net for 4-4.
Bawtry then produced the killer blow from the penalty spot as Cairn went down under a rash challenge.
Shah stepped up to coolly covert the spot-kick to round off a dramatic comeback.