In which book was the ship beset by pirates?