 On 24 May, Cook and Banks and others went ashore.Continuing north, on 11 June a mishap occurred when "Endeavour" ran aground on a shoal of the Great Barrier Reef, and then "nursed into a river mouth on 18 June 1770".The ship was badly damaged, and his voyage was delayed almost seven weeks while repairs were carried out on the beach (near the docks of modern Cooktown, Queensland, at the mouth of the Endeavour River).