A nearby vessel rescued 12 people from the water before police arrived, the US Coast Guard says.