Fort defenders can survive if they retreat during a sally (break siege). They can retreat to any neighboring friendly provinces. They just can't retreat back into the fort.
Apparently nearly all forts have a secret escape passage in the rear. "To the tunnels!"
