Captain William Bainbridge was in command of the Philadelphia, and was detailed to help in blockading Tripoli. His companion vessel was sent in pursuit of a corsair, so that the Philadelphia was left alone to perform blockade duty. On the last day of October, 1803, Captain Bainbridge observed a Tripolitan vessel trying to make port. He gave chase, but the coast was dangerous, abounding with shoals and reefs, with which the fugitive vessel was familiar, while Captain Bainbridge had to keep sounding and regulating his speed in accordance with the degree of danger.
In the midst of the pursuit, and while every precaution was taken, the crew, to their dismay, heard a dull, grating sound, whose meaning they well knew; the bow of the frigate rose six feet out of the water, and the stoppage was so sudden that nearly every one was thrown off his feet.
A hurried examination showed that the Philadelphia was inextricably fast, and could not be freed until the tide rose. Meanwhile the corsairs would issue from the harbor near at hand, and, choosing their own position, batter the frigate to pieces and kill or make prisoners of the crew.
Every possible effort was made to release the ship, but she was too firmly spiked on the jagged reef to be budged, and the dreaded peril speedily appeared. The Tripolitans soon discovered the plight of the American, and nine gunboats hurried out from the harbor. Fire was opened on both sides, but neither was effective, the position of the frigate preventing an effective aim. The sea drove her higher upon the rocks, and she careened so much that all the guns became useless. The Tripolitans, seeing her helplessness, now came closer and increased their fire.
There was no help for Captain Bainbridge. Unable to deliver an effective shot, the enemy could kill every one of his men. He therefore flooded his magazine, blocked the pumps, bored holes through the bottom of the ship in order to sink her if his enemies succeeded in releasing her, and then struck his flag. Distrustful at first, though they ceased firing, the Tripolitans finally came aboard, plundered the officers and men of their personal property, and then took them—three hundred and fifteen in all—to the city, where they were lodged in prison.
Some days later a powerful northerly wind partly lifted the Philadelphia off the rocks, and by united efforts her captors succeeded in getting her into deep water. The holes in the bottom were plugged, and the guns and anchors that had been thrown overboard in the shallow water were easily recovered and replaced on the ship. Thus the Bashaw secured a most valuable prize.
The disaster gave a serious aspect to the war, for it not only added material strength to the enemy, but increased their courage and insured a more determined resistance on their part. While the loss was a severe one to the American navy, it was not difficult to replace it.
One day a letter reached Commodore Preble. Apparently it was nothing but a blank sheet of paper, but knowing that lemon juice had been employed for ink, the Commodore held it before a flame and brought out the following, in the handwriting of Bainbridge:
"Charter a small merchant schooner, fill her with men and have her commanded by fearless and determined officers. Let the vessel enter the harbor at night with her men secreted below deck; steer her directly on board the frigate, and then let the men and officers board, sword in hand, and there is no doubt of their success. It will be necessary to take several good rowboats in order to facilitate the retreat after the enterprise has been accomplished. The frigate in her present condition is a powerful auxiliary battery for the defence of the harbor. Though it will be impossible to remove her from her anchorage and thus restore this beautiful vessel to our navy, yet, as she may and no doubt will be repaired, an important end will be gained by her destruction."
Captain Bainbridge had sent several similar letters to Preble, his good friend, the Swedish consul, being the man who secured their delivery. The plan suggested by Bainbridge was a good one, for, since it was impossible to add the Philadelphia to our navy, the next best thing was to prevent her remaining with that of Tripoli. It may as well be stated here that the court martial which investigated the particulars of the loss of the Philadelphia acquitted Captain Bainbridge of all blame and declared that he had done everything possible under the circumstances.