Personnel of a Royal Navy base came together to pay their respects to those who made the ultimate sacrifice for their country in a poignant ceremony.