 Agincourt was stuck fast and had to be lightened ; her guns were removed and much of her coal was tossed overboard before she was towed off by Hercules , commanded by Lord Gilford , four days later . Heavy weather set in the night after Agincourt was freed and it would have wrecked her if she had still been aground . Both the fleet commander and his deputy were relieved of their commands as a result of the incident . The ship was repaired in Devonport and Captain <unk> Hopkins assumed command in September with Commander Charles Penrose @-@ Fitzgerald as his executive officer . Hopkins later commented : " We turned the Agincourt from the noisiest and the worst disciplined ship in the squadron into the quietest and the smartest ; and a few months after we commissioned we went out to the Mediterranean for the Lord Clyde court @-@ martial , and beat the whole Mediterranean fleet in their drills and exercises , which was a great triumph . " 
