@branch What happened is that he hadn't actually checkmated her. She used that software to find a way to escape the situation that he had not been able to think of.
In reality it's unlikely she would have escaped directly into checkmating him without additional moves in between, but that would slow down the story flow.