When you run back into the prison to free the prisoners, just wait around. It takes around 5-10 minutes for the timer to run out, but let it run out. You will run out the prison and leaves the prisoners there; you'll get a game over and an achievement.