The guided missile destroyer USS Winston S Churchill went in pursuit of a suspect vessel after receiving a report of piracy, the navy said.
When other efforts failed, the Churchill fired warning shots to bring the boat to a halt.
There have been numerous attacks by pirates off Somalia, some of the most dangerous waters in the world.
The US navy's Fifth Fleet, which is based in Bahrain and patrols the Indian Ocean, received reports of "an attempted act of piracy" approximately 50 miles (80km) off the Somali coast on Friday, it said in a statement.
The Churchill shadowed the suspect vessel, and tried to make contact over the radio, before resorting on Saturday to "aggressive manoeuvring in an attempt to stop the vessel".
When this failed, "Churchill fired warning shots. The vessel cut speed and went dead in the water," the statements said.
Later an unspecified number of sailors were taken off the vessel and a quantity of small arms was recovered, the navy said.
When other efforts failed, the Churchill fired warning shots to bring the boat to a halt.
There have been numerous attacks by pirates off Somalia, some of the most dangerous waters in the world.
The US navy's Fifth Fleet, which is based in Bahrain and patrols the Indian Ocean, received reports of "an attempted act of piracy" approximately 50 miles (80km) off the Somali coast on Friday, it said in a statement.
The Churchill shadowed the suspect vessel, and tried to make contact over the radio, before resorting on Saturday to "aggressive manoeuvring in an attempt to stop the vessel".
When this failed, "Churchill fired warning shots. The vessel cut speed and went dead in the water," the statements said.
Later an unspecified number of sailors were taken off the vessel and a quantity of small arms was recovered, the navy said.