COMMODORE EDWARD PREBLE.
This was the state of affairs when a few weeks later Commodore Preble, with the "Constitution," came out to take command of the squadron. He saw the situation at a glance, and he was not a man to hesitate long about taking action. If the Moors, who had seaports on the Atlantic, were not put down and the strait opened, it would be of no great use to clear the inland sea of pirates. The commodore immediately assembled all his ships, gave them orders to capture every Moorish vessel they could find, and himself proceeded in the "Constitution" directly to Tangier, in Morocco. The Emperor was expected to arrive here shortly with his army. He sent to know whether Preble would fire a salute in his honor. The commodore sent back his answer by the consul.
"As you think," said he, "it will gratify his imperial Majesty, I shall salute him and dress ship; and if he is not disposed to be pacific, I will salute him again!"
The resolute tone which Preble took in this and other communications had the desired effect. In three days after the Emperor arrived he had consented to renew the treaty his father had made with the United States, and had ordered the release of all the Americans that had been seized, together with their property. At the same time the orders which had been given to capture American vessels were revoked; whereupon Preble restored the "Mirboka," and withdrew his own order to seize the vessels of Morocco. This done, he sailed for Tripoli.
Already the "Philadelphia," with the schooner "Vixen" in company, had taken her station before the enemy's port, and preparations were made to maintain a strict blockade. It needed two vessels at least for this service; for if any accident happened to one alone, she would certainly be lost, being so far from help and close to the watchful guards of the enemy's harbor. Nevertheless, immediately after his arrival Captain Bainbridge heard from a Neapolitan merchantman that one of the enemy's corsairs had sailed the day before, and he sent the "Vixen" off to find her.
Next day, it being the 31st of October, a Tripolitan vessel was descried to the eastward of the city, attempting to work into the harbor. Captain Bainbridge at once gave chase. The wily Tripolitan kept on his course, not far from the shore, where he knew the water was full of reefs and sunken rocks which he could easily avoid, but which he hoped might prove a trap for his unsuspecting enemy. And so it came about; for the captain, whose zeal, as we have already seen, was sometimes greater than his prudence, forgetting the dangers of the treacherous coast, followed the Tripolitan, with a fair breeze and a good eight-knot speed, until suddenly the water began to shoal. Then realizing for the first time his peril, he turned his vessel's head off shore. But it was now too late; and an instant later the "Philadelphia" had shot up on a sunken reef, where she hung hard and fast, her great stem and bowsprit pointing upward in the air.