HMNZS Endeavour is preparing to make its last visit to its home port of New Plymouth.
The Royal New Zealand Navy's support tanker is to be decommissioned in December after 30 years of service.
The decommissioning will begin with a week-long visit to Port Taranaki, beginning on November 14
Events will include an official reception two days later, when there will be a ceremonial sunset and beating the retreat.
On November 18, there will be a parade from Queen Street to the Puke Ariki landing, where the commanding officer, Commander Martin Doolan, will hand back the city charter to Mayor Neil Holdom.
"Endeavour's affiliation with Taranaki included a charter between the ship and the district that gives the ship's company 'the right and privilege of marching with drums beating, band playing, colours flying, bayonets fixed and swords drawn'," Commander Doolan said.
"They will exercise this right for the final time on the Saturday with the parade and ceremony."