Yankee ships in pirate waters