The emotional moments were particularly symbolic given that the Queen began almost every day to the sound of the bagpipes.
As a kind of alarm clock, the bagpiper would play at 9 a.m. for 15 minutes for the monarch wherever she was in residence.
Pipe Major Scott Methven, who held the position between 2015 and 2019, told the BBC last week that he got to know the Queen very well during her tenure.
“It was a pleasure as Her Majesty got up and watched you play,” he told the BBC. “She liked the bagpipes, but she got to know you as a person.”