When you log back on, one of two things will happen: You will die, or you will live.
Only way you will live is if the monster does not do enough damage to kill you in the 30 seconds before your character is actually logged off. If you do not last the 30 seconds, you will log on to find your character killed with no mob around.