I have speculated that what happened this week was, the Queen said (or at any rate thought) "I'll be damned if Boris of all people Johnson will lead this nation in mourning," and hung in there until she had BY GOD outlasted him.
Be at peace, ma'am, and good luck to you.