It was their first appearance together since leaving their roles as senior members of the royal family.