Now that you've been killed, at least you know that the castle is going to be attacked by a catapult.
So maybe if you waited a while, you wouldn't be killed.