The type 45 destroyer was affiliated to Guernsey in 2008
HMS Daring, the type 45 destroyer affiliated to Guernsey, was in the island to take part in the Charybdis and Limbourne memorial weekend.
The ship's company took part in events to commemorate the 500 sailors who died when their ships were torpedoed off Guernsey in 1943.
The 7,350-tonne destroyer's second visit to the island lasted three days until Sunday.
Memorial events included a concert, service and football and rugby matches.
The Commanding Officer of HMS Daring, Captain Paddy McAlpine, said: "There has always been a strong link between the Royal Navy and Guernsey.
Thousands at funeral
"Inherently possessing a very rich maritime heritage, the island has fostered strong links with HMS Daring since her first, but all too brief, visit in January."
When HMS Charybdis and Limbourne were sunk sailors' bodies washed up across the Channel Islands, which were at the time under German Occupation.
Thousands of islanders turned out to show their loyalty to Britain as the bodies were buried in the Foulon cemetery.
HMS Daring was the first of the Royal Navy's six new Type 45 destroyers and was officially commissioned in July by the Countess of Wessex in Portsmouth.