Well, what would you do? You’re a top civil servant with more than 25 years of government service. You’ve worked for Tony Blair, Gordon Brown, David Cameron and Theresa May. You went through Brexit hell as a lead negotiator. You were sacked by Boris Johnson and were then brought back by Keir Starmer.
You land a plum job as permanent undersecretary in the Foreign Office and do your boss a favour by appointing his man as ambassador to the US. You’ve already got a knighthood; that peerage is only a matter of time away. Then it all blows up in your face and the prime minister sacks you and trashes your reputation in parliament.