The Antifragile Acceptance
The idea is to include that lifeboat in the initial planning rather than after you hit the iceberg.
Write your resignation letter before you start a new job. Leave the date blank and lock it away in a drawer, but make sure to take the time and draft it.
Better yet, you could put that letter in a frame, hang it on the wall, and include instructions to break glass in case of emergency.