this won't happen but here is how you deal with the current situation. Pull up a battleship, demand the return of the Captain and the other guy they have from the ship, they will not return him without the money, bombard the port, demand the return of the two captives/hostages, repeat as necessary. The captives/hostages will be returned (hopefully alive) but they wont mess with U.S. flagged ships anymore. No one wants that headache. It sounds absolute but I think that's how the Barbary pirates were dealt with.