The 71,000-tonne ship had been sailing in circles in the Thames Estuary after the crew were threatened.