After the war with England, Porter became a member of the Board of Navy Commissioners, but resigned that post to take command of an expedition against the West Indian pirates. He was court-martialed for exceeding his powers during this cruise, and sentenced to be suspended for six months.

Upon this he resigned his commission and entered the Mexican service as Naval Commander-in-chief. After serving there for some years he returned to the United States in 1829, and was made United States Consul General for the Barbary States. He was afterwards transferred to Constantinople as Chargé d’Affaires, and soon became Minister Resident.

He died in Constantinople, in March, 1843, and his remains were brought home in a man-of-war, and interred in the Naval Asylum grounds.

And now, to return to the Essex and her cruise. All Americans should read Porter’s account, which vies in interest with those of Anson or La Peyrouse, the difference being that their sole object was discovery, while Porter had principally in view the crippling of his enemy’s resources. His attack upon British interests in that part of the globe was entirely unexpected, and the unbounded rage of the English was excited when they learned, from prisoners sent in cartels, that such wholesale destruction was going on, and their trade being completely annihilated; and they hastened to take means to stop Porter’s career.

The latter, in the meantime, was living off the enemy, showing the greatest activity and resource, maintaining discipline under exceptional circumstances, and keeping his crew in good humor, with much tact and knowledge of sailor character.

In those days no docks or dockyards were to be found anywhere south of the line. Ports were few and not much frequented, for fear of blockade. Necessary food, sea-stores, rigging and material for repairs were, indeed, as far as Porter was concerned, only to be obtained by capture, and it required a man not only of pluck and nautical ability, but of resources in many other directions, to make such a cruise as he did. At the last, through no fault of his, he was overwhelmed in a harbor which should have afforded him security, and the career of the Essex brought to an end by a shameful violation of neutrality.

In the course of his cruise, Porter had seized and disarmed a Peruvian corvette, which had been preying upon American whalers, and then sent her away with a caution. He had also seized and disposed of, in different ways, English “South-sea-men,” aggregating 3369 tons, with 302 men and 107 guns; had provisioned his own crew and partly paid his men, from the prizes. One of the latter, the Atlantic, he had fitted out for cruising, under his first lieutenant, Mr. Downes, re-naming her Essex Junior. This ship mounted 20 guns and was efficient as a cruiser against merchantmen and whalers, but was not expected to stand an engagement.

Porter had sent Downes, with some prizes, to Valparaiso, and upon his return the latter reported that Commodore James Hillyar, an English officer of experience, ability and courage, had been sent out in the frigate Phœbe, of 36 guns, to look for the American frigate, her work having caused great consternation when the news of it reached England. The English sloops Raccoon and Cherub were also despatched to the Pacific, under Hillyar’s orders.

The Essex being in much need of repairs after her long and stirring cruise, Porter determined to put her in as good condition as his resources permitted, and then seek to bring the enemy to action, if he could meet him on anything like equal terms.

He, therefore, went to Nukahivah, or Madison’s Island, in the Washington group, which had been discovered by Captain Ingraham, of Boston. Here he caulked his ship and overhauled the rigging, made new water casks, and took from his prizes provisions and stores for four months.