In a nutshell
The side that was behind turning the game around and taking the lead.
In detail
The side that was behind overturning the position through the opponent's mistake or a do-or-die move is called a turnaround.
In Go anything can happen until the end, and a single move—like a large group being captured—can cause a huge turnaround.