In coming down from the eastward, and bringing with her a plenty of water, the Philadelphia must have passed two or three hundred yards to the southward of the northeastern extremity of the most easterly of the two great divisions of the reef in question. This position agrees with the soundings found at the time, and with those laid down in the chart. She had the chase some distance inshore of her; so much so, indeed, as to have been firing into her from the two forward divisions of the larboard guns, in the hope of cutting something away. Coming from the eastward, the ship brought into this pass, between the reef and the shore, from fourteen to ten fathoms of water, which gradually shoaled to eight, when Capt. Bainbridge, seeing no prospect of overhauling the chase, then beginning to open the harbor of Tripoli, from which the frigate herself was distant but some three or four miles, ordered the helm a-port, and the yards braced forward, in the natural expectation of hauling directly off the land into deep water. The leads were going at the time, and, to the surprise of all on board, the water shoaled, as the frigate run off, instead of deepening. The yards were immediately ordered to be braced sharp up, and the ship brought close on a wind, in the hope of beating out of this seeming cul de sac, by the way in which she had entered. The command was hardly given, however, before the ship struck forward, and, having eight knots way on her, she shot up on the rocks until she had only fourteen and a half feet of water under her fore-chains. Under the bowsprit there were but twelve. Aft she floated, having, it is said, come directly out of six or seven fathoms of water into twelve and fifteen feet; all of which strictly corresponds with the soundings of the modern charts.[[2]]

There was much of the hard fortune which attended a good deal of Bainbridge’s professional career, in the circumstances of this accident. Had the prospects of the chase induced him to continue it, the frigate might have passed ahead, and the chances were that she would have hauled off, directly before the mouth of the harbor of Tripoli, and gone clear; carrying through nowhere less than five fathoms of water. Had she stood directly on, after first hauling up, she might have passed through the opening between the two portions of the reef, carrying with her six, seven, nine and ten fathoms, out to sea. But, in pursuing the very course which prudence and a sound discretion dictated to one who was ignorant of the existence of this reef, he ran his ship upon the very danger he was endeavoring to avoid. It is by making provision for war, in a time of peace, and, in expending its money freely, to further the objects of general science, in the way of surveys and other similar precautions, that a great maritime state, in particular, economizes, by means of a present expenditure, for the moments of necessity and danger that may await it, an age ahead.

Bainbridge’s first recourse, was the natural expedient of attempting to force the ship over the obstacle, in the expectation that the deep water lay to seaward. As soon, however, as the boats were lowered, and soundings taken, the true nature of the disaster was comprehended, and every effort was made to back the Philadelphia off, by the stern. A ship of the size of a frigate, that goes seven or eight knots, unavoidably piles a mass of water under her bows, and this, aided by the shelving of the reef, and possibly by a ground swell, had carried the ship up too far, to be got off by any ordinary efforts. The desperate nature of her situation was soon seen by the circumstance of her falling over so much, as to render it impossible to use any of her starboard guns.

The firing of the chase had set several gun-boats in motion in the harbor, and a division of nine was turning to-windward, in order to assist the xebec the Philadelphia had been pursuing, even before the last struck. Of course the nature of the accident was understood, and these enemies soon began to come within reach of shot, though at a respectful distance on the larboard quarter. Their fire did some injury aloft, but neither the hull nor the crew of the frigate were hit.

Every expedient which could be resorted to, in order to get the Philadelphia off, was put in practice. The anchors were cut from the bows; water was pumped out, and other heavy articles were thrown overboard, including all the guns, but those aft. Finally the foremast was cut away. It would seem that the frigate had no boat strong enough to carry out an anchor, a great oversight in the equipment of a vessel of any sort. After exerting himself, with great coolness and discretion, until sunset, Bainbridge consulted his officers, and the hard necessity of hauling down the colors was admitted. By this time, the gun-boats had ventured to cross the frigate’s stern, and had got upon her weather quarter, where, as she had fallen over several feet to leeward, it was utterly impossible to do them any harm. Other boats, too, were coming out of the harbor to the assistance of the division which had first appeared.

The Tripolitans got on board the Philadelphia, just as night was setting in, on the last day of October. They came tumbling in at the ports, in a crowd, and then followed a scene of indiscriminate plunder and confusion. Swords, epaulettes, watches, jewels, money, and no small portion of the clothing of the officers even, disappeared, the person of Bainbridge himself being respected little more than those of the common men. He submitted to be robbed, until they undertook to force from him a miniature of his young and beautiful wife, when he successfully resisted. The manly determination he showed in withstanding this last violence, had the effect to check the aggression, so far as he was concerned, and about ten at night, the prisoners reached the shore, near the castle of the Bashaw.

Jussuf Caramelli received his prisoners, late as was the hour, in full divan; feeling a curiosity, no doubt, to ascertain what sort of beings the chances of war had thrown into his power. There was a barbarous courtesy in his deportment, nor was the reception one of which the Americans had any right to complain. After a short interview, he dismissed the officers to an excellent supper which had been prepared for them in the castle itself, and to this hour, the gentlemen who sat down to that feast with the appetites of midshipmen, speak of its merits with an affection which proves that it was got up in the spirit of true hospitality. When all had supped, they were carried back to the divan, where the Pacha and his ministers had patiently awaited their return; when the former put them in charge of Sidi Mohammed D’Ghies, one of the highest functionaries of the regency, who conducted the officers, with the necessary attendants, to the building that had lately been the American consular residence.

This was the commencement of a long and irksome captivity, which terminated only with the war. The feelings of Bainbridge were most painful, as we know from his letters, his private admissions, and the peculiar nature of his case. He had been unfortunate throughout most of his public service. The Retaliation was the only American cruiser taken in the war of 1798, and down to that moment, she was the only vessel of the new marine that had been taken at all. Here, then, was the second ship that had fallen into the enemy’s hands, also under his orders. Then the affair of the George Washington was one likely to wound the feelings of a high spirited and sensitive mind, to which explanations, however satisfactory, are of themselves painful and humiliating. These were circumstances that might have destroyed the buoyancy of some men; and there is no question, that Bainbridge felt them acutely, and with a lively desire to be justified before his country. At this moment, his officers stepped in to relieve him, by sending a generous letter, signed by every man in the ship whose testimony could at all influence the opinion of a court of inquiry. Care was taken to say, in this letter, that the charts and soundings justified the ship in approaching the shore, as near as she had, which was the material point, as connected with his conduct as a commander; his personal deportment after the accident being beyond censure. Bainbridge was greatly relieved by the receipt of this letter, the writing of which was generously and kindly conceived, though doubts may exist as to its propriety, in a military point of view. The commander of a ship, to a certain extent, is properly responsible for its loss, and his subordinates are the witnesses by whose testimony the court, which is finally to exonerate, or to condemn, is guided; to anticipate their evidence, by a joint letter, is opening the door to management and influence which may sometimes shield a real delinquent. So tender are military tribunals, strictly courts of honor, that one witness is not allowed to hear the testimony of another, and the utmost caution should ever be shown about the expression of opinions even, until the moment arrives to give them in the presence of the judges, and under the solemnities of oaths. This is said without direct reference to the case before us, however; for, if ever an instance occurred in which a departure from severe principles is justifiable, it was this; and no one can regret that Bainbridge, in the long captivity which followed, had the consolation of possessing such a letter. It may be well, here, to mention that all the officers whose names are given already in this biography, shared his prison, with the exception of Messrs. Cox and M’Donough; the former of whom had exchanged with lieutenant Porter, now a captain, while the latter had been left at Gibraltar, in charge of the Meshboha, to come aloft with Decatur, and to share in all the gallant deeds of that distinguished officer, before Tripoli.

Much exaggeration has prevailed on the subject of the treatment the American prisoners received from the Turks. It was not regulated by the rules of a more civilized warfare, certainly, and the common men were compelled to labor under the restrictions of African slavery; but the officers, on the whole, were kindly treated, and the young men were even indulged in many of the wild expressions of their humors. There were moments of irritation, and perhaps of policy, it is true, in which changes of treatment occurred, but confinement was the principal grievance. Books were obtained, and the studies of the midshipmen were not neglected. Sidi Mohammed D’Ghies proved their friend, though the Danish consul, M. Nissen, was the individual to whom the gratitude of the prisoners was principally due. This benevolent man commenced his acts of kindness the day after the Americans were taken, and he continued them, with unwearying philanthrophy, down to the hour of their liberation. By means of this gentleman, Bainbridge was enabled to communicate with Com. Preble, who received many useful suggestions from the prisoner, concerning his own operations before the town.

The Turks were so fortunate as to be favored with good weather, for several days after the Philadelphia fell into their hands. Surrounding the ship with their gunboats, and carrying out the necessary anchors, they soon hove her off the reef into deep water; where she floated, though it was necessary to use the pumps freely, and to stop some bad leaks. The guns, anchors, &c., had, unavoidably, been thrown on the rocks; and they were also recovered with little difficulty. The prisoners, therefore, in a day or two, had the mortification to see their late ship anchored between the reef and the town; and, ere long, she was brought into the harbor and partially repaired.