Turning the tide is already idiomatic, but another common phrase is "to snatch victory from the jaws of defeat". Here, defeat is pictured as a monster threatening to eat you.
###Definition of the jaws of defeat
Definition of the jaws of defeat
: the position of being close to losing
// The team was able to snatch victory from the jaws of defeat by scoring in the final seconds of the game.
(source: Merriam-Webster)
An example of a single word is "comeback", but that can also be used for a career, not just something that's happening in a single game.
A comeback (or come-from-behind) is an occurrence of an athlete or sports team engaged in a competition overcoming a substantial disadvantage in points or position, particularly if this results in the disadvantaged team winning.
(source: Wikipedia)