The French alliance, and the change it wrought upon the face of the war, led the British to determine upon the evacuation of Philadelphia, which came about accordingly in the following summer. But before going away they struck one blow from which the Continental Navy could not easily recover. Major Maitland, with a force of gunboats and barges, accompanied by a detachment of infantry and artillery, made a raid up the river and sought out all the vessels which had been lying snugly concealed there during the winter. They had no batteries, and were in no way capable of offering resistance; and all, including the "Effingham" and "Washington," were burned. A month later the British abandoned Philadelphia.
Barry was now appointed to the "Raleigh," one of the best of the thirteen frigates, which had already been at sea under another captain. At this time she was lying at Boston, and on the 25th of September, 1778, Barry weighed anchor and sailed down the harbor, bound on a cruise to the eastward. She had been only six hours out of port, when two large ships were seen approaching her from a distance. These proved to be a British frigate, the "Experiment," of fifty guns, and the sloop "Unicorn." The "Experiment" alone was nearly double the "Raleigh's" size, and Barry used his best endeavors to escape from them. But they had seen him, and crowded sail in chase. Night fell, and concealed both pursuers and pursued. The next day was hazy; but at noon the fog lifted and showed the enemy still far away, but doing all he could to lessen the distance. So the chase continued for the rest of the day and the whole of the night, and the next day too, the enemy occasionally lost to view, and so raising the hopes of Barry and his crew, but each time reappearing, and still in hot pursuit. On the morning of the third day the wind freshened, and the "Raleigh," which now was off the coast of Maine, gradually increased her speed and seemed about to cast off her pursuers; but in the afternoon the breeze again fell light, giving them once more the advantage, until at five o'clock the larger ship, the "Experiment," had barely managed to come up, and opened fire.
The chances of escape now seemed slight indeed; but Barry was not a man to let himself be taken without a struggle, even by an enemy that was twice his size, and boldly joining battle, he began a contest which was to last for seven long hours, and in which the steadfast courage and unyielding purpose of the commander would have done credit to Paul Jones himself. At the second fire of the enemy the "Raleigh's" fore-topmast toppled over and fell. Nevertheless, she kept up a furious cannonade at close quarters, pouring in broadside after broadside at her big antagonist. The latter now found herself badly injured, and moved to a point some distance off, keeping up her fire at long range. Never allowing himself to be discouraged for a moment, although he had little reason to hope, Barry took advantage of this breathing-space to repair his damages. Then he followed the enemy and attempted to close with her and carry her by boarding. It was a desperate measure, but it seemed to be the only chance; for the "Unicorn" had now come up, and Barry found himself between two fires. The "Experiment," however, discovered his purpose and avoided him successfully. It had now grown very dark, and as a last resort Barry sought to get away and elude his opponents among the islands which at this point are thickly dotted along the shores of Maine; but they hung to him closely, and as a crowning misfortune his vessel ran aground. The struggle was now hopeless, and it would have been madness to hold out any longer. Abandoning his ship, Barry made for the land. This, with great difficulty, he at length reached, and so succeeded in escaping with some part of his crew; but the frigate which he had so gallantly defended fell into the hands of the enemy.
Thus ended the cruise of the "Raleigh,"—a cruise which had lasted only three days, but of which every moment had been filled with intense excitement, alternating between faint hope and blank despair, ending in failure, but which gave to her captain a name and fame that lasted long after the close of the Revolution. No man of his day in the navy was more honored by his equals and more beloved and reverenced by those below him in rank. His sailors adored him; there was nothing they were not ready to do for him. He was always frank and generous to his friends and humane to his enemies. On board his ship he exacted full obedience, and he got it, both from officers and men, but always by gentle means. With a fine and noble presence, and a face that bespoke a true heart and ready hand guided by a strong purpose and a lofty courage, there was none in all the navy more regarded and esteemed than John Barry.
After the cruise of the "Raleigh," Barry served for a time in privateers. Like Paul Jones, he should have had a good ship, but there was none to give him. Finally in 1780, after Landais came back disgraced from Europe, Barry was ordered to take command of the "Alliance," and in the following winter he sailed for France, taking with him as a passenger Henry Laurens, who went out as the new Minister to France. In May, 1781, he left Lorient on his return; and on the 28th, being then near the Banks of Newfoundland, in the evening he discovered in his neighborhood two sail of the enemy,—the ship "Atalanta," of twenty guns, and the brig "Trepassey," of fourteen. Barry waited for daylight to attack them; but the next morning the wind fell, and not a ripple broke the shining surface of the water; while the "Alliance," with her tall and graceful spars, and her sails hanging loose in the dead calm, slowly rose and fell with the broad swell of the Atlantic. There she lay like a huge log, unable to move a yard this way or that. Her very size was a misfortune now, for her two antagonists, smaller and more handy, could manœuvre as they pleased, with their long sweeps; and moving up they took positions on her quarter, and opened on her with their guns. The "Alliance" could not reply with a single cannon, her heavy battery was useless, and the "Atalanta" and her consort kept up a steady fire for the whole morning and well into the afternoon. It was a galling thing for Barry to be placed thus at the mercy of a lesser force, to see his men shot down around him, and to be powerless himself to fire a shot in their defence.
At two o'clock Barry, who had all this time been waiting with impatience on the quarter-deck for the unwilling breeze, received a wound in the shoulder from a grape-shot. Stung as he was by the sharp pain, he refused to leave the deck; but at length, fainting from loss of blood, he was carried below to the cockpit, where the surgeon set about dressing his wound. Presently the first lieutenant came down to report the condition of the ship, upon whose deck many of the crew were lying killed or wounded, and ending his report, asked if he should strike the flag. Barry indignantly refused. "If the ship," said he, "cannot be fought without me, they shall carry me again on deck."
This answer revived the drooping spirits of the crew and gave fresh vigor to their efforts. Soon after this a little wind sprang up. It barely gave the frigate way to bring her guns to bear upon the enemy; but it was enough, and only a few broadsides from her 18-pounders were needed to settle the result. The captain of the "Trepassey" fell, and his ship immediately surrendered. His comrade Edwards, who commanded the "Atalanta," refused at first to yield, but a few more broadsides cut his vessel well-nigh to pieces, and at three o'clock his flag too was hauled down. As the brave Edwards came on board the "Alliance" to give up his sword, Barry, forgetting his wound and the anxious hours that his opponent had made him pass, generously gave it back to him, saying as he did so, "Keep it, my friend. You richly deserve it; and your king ought to give you a better ship."
The "Alliance" during the next year was still cruising under Barry's command. But the war, though in name it still continued, was almost at an end. It was now certain that the king would do the thing he most abhorred, which was to recognize the independence of America,—and hostilities on land had really ceased. The seas still swarmed with British cruisers, but none of them were able to capture the "Alliance," and she was brought safely home. After the treaty was concluded, the Government, no longer needing her, sold her to Philadelphia merchants, and she became a peaceful trading-vessel.
There was one officer among the younger men of the navy who resembled Barry no less in bravery and seamanlike skill than in the winning frankness and generosity of his nature. This was Joshua Barney. Three years before the war broke out he had gone to sea on his first voyage, and had risen in two years to be the second mate of his vessel. Early in 1775, not dreaming of the hostilities that were shortly to occur; he had set out from Baltimore on a voyage to the Mediterranean. The captain died at sea, the chief mate had been left behind, and Barney found himself, when only sixteen years of age, in the command of a leaky ship, with a long voyage before him, and all the responsibility resting on his shoulders. It was a hard trial for him; but he had gained the good-will of his crew, and to a man they obeyed and supported him. Just before sighting the coast of Spain he fell in with a gale of wind; and he only managed to get into Gibraltar as his ship was on the point of going down. Here he obtained assistance and repairs by giving bonds,—for he had no money,—and he was thus enabled to deliver his cargo at Nice, which was the port of destination. The firm to which the cargo was consigned refused to pay the bonds, although there could be no doubt that it was their duty. "Well, then," said Barney, "you shall not have your cargo."