If you're failing, pivot to what your replacement will do before you fail.
"In the midst of the doldrums of 1985, Grove posed a hypothetical question to his colleague Gordon Moore: “If we got kicked out and the board brought in a new CEO, what do you think he would do?” Moore answered without hesitation, “He would get us out of memories.” To which Grove responded, “Why shouldn’t you and I walk out the door, come back and do it ourselves?” [1]