Captain Phillips fired flares at the pirates and the ship was steered so that it would sway back and forth. However, the pirates eventually still managed to throw up a ladder and board the ship, taking the bridge.
Place eggs in a large saucepan. Cover them with cool water by 1 inch. Cover with a lid and bring water to a boil over high heat; when the water has reached a boil, set the timer for the desired time. Boil for 6 - 7 minutes for perfect hard boiled eggs. For soft-boiled eggs: 4 minutes. For slightly soft-boiled eggs: 5 minutes.
1 This will get you a nice, soft, runny yolk.  If you want hard-boiled eggs, leave them for 9 to 10 minutes, depending on how creamy you want the yolk. For slightly drier yolks like those in the photos in this post, let them cook 10 minutes. If you want your yolks a little more creamy, only let them sit for 9 minutes.