Princess Anne visited Portsmouth and St Omer Barrack to thank staff who took part in the funeral of Queen Elizabeth II