If the enemy or you runs out of defence, you will die on the next attack by the enemy unless you defend, If you or the enemy runs out of health you die (like any other game. If you instantly win or lose then you need to press the flag again.)