A spokeswoman said: “The ship has been freshly painted, the three masts have been repaired and returned to the skyline and 4,500 metres of rope together with 450 metres of stainless steel wire are being fitted as part of the rigging.”

The final touches are being made to ensure HM Bark Endeavour is ship-shape for her journey to North Yorkshire (Image: Charlotte Graham)

Once in Whitby, where the original Endeavour was built and where Cook began his seafaring career, the ship will have a final fit-out before opening its doors as a visitor attraction on July 1.