You must ensure that everyone can flee! But be aware that your moves apply to everyone. Move all the players in a way that everybody safely reaches the door. If one cannot make it, everybody fails, beware of that too.