The hymn is, I Vow to Thee My Country, and the tune is Thaxted. I don’t know how often it is used, but it was at the wedding of Diana and Charles, and also at her funeral. It was used at the funerals of Churchill and Thatcher, as well as John McCain. I found the information in Wikipedia.
Many storylines were wrapped up with happy endings. Pleased that Harrison will be with his sister. Sad for Alan’s brother, but he went out as he wished to, I think.
Not all is well, but I think left on a hopeful note.