Bay scored two goals in the space of seven second half minutes to turn the match around and beat in-form Harrogate Town 2-1 on Tuesday.
Harrogate had gone nine games unbeaten and got the boost of a gift goal to take the lead 31 minutes.
Bay keeper Chris Sanna came off his line to try and punch clear, but under pressure he failed to get a proper connection and the ball looped back towards the goal for Dominic Rowe to tap in an easy goal.
Apart from a short spell in the middle of the half when Marc Williams and James Ellison had efforts saved by the keeper, the Bay had not really looked like scoring.
But, despite losing Anthony Stephens with an ankle injury at half-time, they came out like a train at the start of the second half and turned the game around inside the opening 13 minutes.
Jonathan Royle equalised with a 30-yard screamer into the far corner of the net on 51 minutes and then James Ellison scored a second seven minutes later with a glancing header from a Mike Lea free kick.
Ellison, who worked hard and did some great tracking back to help win the ball in defence, was unlucky not be awarded a penalty when he was felled after a great turn inside the area.
Harrogate battled hard to try and get back on terms and got the ball in the net on 89 minutes only for a linesman’s flag to rule it out for offside.
The Bay held on through five minutes of added time to claim three very welcome points and end a four-match winless run.
The result has lifted back to within eight points of the top five.