In retrospect, it seems as if she was preparing us all along.
Whether it was due to age, ill health or a sense that the end was near, Queen Elizabeth II spent much of the last two years tying up loose ends, trying to make sure the family firm would keep ticking along after her death.
The transition began slowly, with the Queen turning over more public duties to her son and heir, now King Charles III, as she entered her twilight years. But it moved into overdrive in 2022 as Elizabeth celebrated 70 years on the throne. First, she expressed her wish that Charles' wife, Camilla, be known as Queen Consort after her death, and then the future king took centre stage during four days of Platinum Jubilee festivities.
"Elizabeth II was preparing the ground for the succession," historian Ed Owens said. "We saw a lot more of Charles in the last 10 years stepping in for his mother in several key situations at key public events. And that, I think, was partly intentional in that the monarch … wanted her son to sort of gravitate naturally into the limelight, to make this seem as best as possible as though it was a seamless transition.''
Charles' increased role began gradually when the Queen began cutting back on long-haul flights, resulting in the then Prince of Wales taking her place at a 2013 Commonwealth Heads of Government meeting in Sri Lanka.
The Queen became head of the Commonwealth, a grouping of 54 independent countries with links to the former British Empire, when she ascended the throne and championed its role in world affairs throughout her reign.
In 2018, Elizabeth expressed her "sincere wish" that Charles would follow her as head of the Commonwealth and its leaders agreed.
The previous year, Charles represented the Queen at the annual Remembrance Day ceremony honouring the nation's war dead, laying the monarch's wreath at the foot of the Cenotaph in London. It was the first time the Queen hadn't performed the solemn ritual, marked by columns of ageing veterans marching past the monument, other than when she was pregnant or out of the country.
But what had been a subtle shift became more obvious after the coronavirus pandemic led Elizabeth to take refuge at Windsor Castle outside London and the death of her husband, Prince Philip, reminded the nation of the Queen's mortality.
That was underscored by the image of Elizabeth, her face hidden behind a black mask, sitting alone in St George's Chapel as she mourned the loss of the man who had been her "strength and stay" for over 73 years.
On the anniversary of her accession to the throne in February, the Queen moved to end the long-running controversy over the status of Charles' wife.
Camilla has been a divisive figure in Britain because her long-term relationship with Charles was blamed for the breakdown of his first marriage to the widely beloved Princess Diana. The mother of Princes William and Harry died in a Paris car crash in 1997, five years after her messy split with Charles.
When Charles married Camilla in 2005, he made it known that he wanted his wife to become queen when he ascended the throne. Diana's fans objected, saying it would dishonour the princess.
But the public attitude toward Camilla, 75, has warmed in recent years as she took on roles at more than 100 charities, focusing on issues ranging from literacy to domestic violence. Her down-to-earth style and sense of humour have softened Charles' stuffy image and made him appear more relaxed.
When theQueen weighed in on February 6, she obliquely recognised that her reign would come to an end.
"When, in the fullness of time, my son, Charles, becomes king, I know you will give him and his wife, Camilla, the same support that you have given me," she said. "And it is my sincere wish that, when that time comes, Camilla will be known as Queen Consort as she continues her own loyal service."
Late last year, Elizabeth was seen using a walking stick for the first time, and in April she revealed that a bout with Covid-19 had left her feeling "very tired and exhausted".
In May, the Queen delegated one of her most important public duties to Charles, asking him to preside over the state opening of Parliament and deliver the annual Queen's Speech laying out the government's legislative programme.
The event is a symbol of the monarch's constitutional role as head of state and is accompanied by centuries of tradition designed to demonstrate the strength of Britain's political institutions.
When it came time for the Platinum Jubilee, the palace let it be known that the Queen's ongoing "mobility issues" would limit her role. Instead, Charles took centre stage.
He donned the full military uniform to review the troops during the Queen's ceremonial birthday parade, sat in the position of honour at the front of St Paul's Cathedral for a service celebrating her reign and led salutes to his mother at a gala concert, appearing with Camilla by his side.
After her death, Charles and Camilla were greeted warmly by crowds of mourners outside Buckingham Palace, with the new monarch shaking hands and chatting with well-wishers who broke into a chorus of "God Save the King".
The reaction, and Charles' first days in his new role, suggest that the public is, at least for now, on board, former BBC royal correspondent Michael Cole said this week outside the palace.
"Look at the thousands of people who have come here of their own accord," he said, waving a hand at the crowds. "They're not being bussed in. They're not being ordered to be here. They're not being given little flags to wave. This is not North Korea. This is not a parade for Putin in Red Square. These people have come to express their respect for the dead Queen and show - a very big word - affection."