A US warship carried out a 'maneuvering drill' when it sailed within 12 nautical miles of an artificial island built up by China in the South China Sea, to show it was not entitled to a territorial sea around it, US officials said on Thursday.