Yeah the game shows you the escape area. That's why I went there when I first tried it. But it just didn't trigger the end of the battle. I guess the problem arises when your character is too close to the respawning enemies thus attacking them and not being able to trigger the end of the battle.
But this really could have been implemented a little less glitchy.