What happen to mortgage if your house was destroyed during a war?

So as it says. Do we have to continue to pay mortgage or I assume it is written off since there is no house?