Of course it did not take long for the Tripolitans to see that the American war ship was helpless. Their gunboats swarmed round the ill-fated vessel and opened fire. It was a trying hour for the gallant Captain Bainbridge and his men. Down must come the colors, and down they came. The officers and the sailors were taken ashore and thrown into prison.

After a time, the Tripolitans got the Philadelphia off the reef. Then, towing her into the harbor of Tripoli, they anchored her close under the guns of their forts. The vessel was refitted, cannon were put on board, together with a crew of several hundred sailors, and the crescent flag was raised. She was now ready to sail out to attack our shipping.

Just think of the days of grief and shame for Captain Bainbridge and his men! Think of them as they looked day after day out of the narrow windows of the pasha's castle, and saw this vessel, one of the handsomest in the world, flying the colors of the enemy! These brave Americans had need of all their grit; but they kept up their courage and bided their time.

Commodore Preble now sailed to Sicily, and cast anchor in the harbor of Syracuse.

Don't you suppose the recapture of the Philadelphia was talked of every day?

Of course it was. Everybody in the fleet, from the commodore to the powder monkey, was thinking about it. They must do something, and the sooner the better.

Even Captain Bainbridge in his prison cell wrote several letters with lemon juice, which could be read on being held to the fire, and sent them to Preble. These letters contained plans for sinking the ill-fated ship.

Every one of Preble's young captains was eager to try it. It might mean glory, and promotion, or perhaps failure, and death.

Commodore Stephen Decatur

Somehow or other all looked to the dashing Stephen Decatur; for from the first he had taken a leading part in planning the desperate deed.