The EU force said the ship 's crew called for help when the vessel came under attack by gunfire , but by the time a naval helicopter arrived , the pirates had seized control .