Mugford remained in port only long enough to take a supply of powder from his prize; then put to sea again. He well knew that the British fleet that had chased him into Boston Harbor was still blockading the harbor's mouth, but he hoped to evade it by going out through a circuitous channel. Unluckily, in thus attempting to avoid the enemy, the "Franklin" ran aground, and there remained hard and fast in full view of the enemy. He had as consort the privateer schooner "Lady Washington," whose captain, seeing Mugford's dangerous predicament, volunteered to remain near at hand and assist in the defence.

Mugford knew that his case was desperate, and made preparations for a most determined resistance. Swinging his craft around, he mounted all four of his guns on that side which commanded the channel in the direction from which the enemy was expected. Boarding-nettings were triced up, and strengthened with cables and cordage, to make an effective barrier against the assaults of boarders. The men were served with double rations of grog, and set to work sharpening the cutlasses and spears, with which they were well provided. The work of preparation was completed none too soon; for about nine o'clock Mugford heard the rattle of oars in rowlocks, and saw boats gliding towards the "Franklin" through the darkness.

"Boat ahoy!" he challenged. "Keep off, or I shall fire into you."

"Don't fire," was the response; "we are friends from Boston coming to your aid."

"We want none of your aid," cried Mugford with an oath. Then, turning to his crew, he shouted, "Let them have it, boys."

The roar of the cannon then mingled with the rattle of the musketry, the cries of the wounded, and the shouts and curses of the combatants, as the British strove to clamber up the sides of the "Franklin." Not less than two hundred men were engaged on the side of the British, who advanced to the fray in thirteen large barges, many of them carrying swivel guns. Several boats dashed in close under the side of the "Franklin," and their crews strove manfully to board, but were beaten back by the Yankees, who rained cutlass blows upon them. The long pikes with which the Americans were armed proved particularly effective. "One man with that weapon is positive of having killed nine of the enemy," says a newspaper of that day.

Unhappily, however, the heroic Mugford, while urging on his men to a more vigorous resistance, was struck by a musket-ball, which inflicted a mortal wound. At the moment the wound was received, he was reaching out over the quarter to catch hold of the mast of one of the barges, in the hope of upsetting her. As he fell to the deck, he called his first lieutenant, and said, "I am a dead man. Do not give up the vessel; you will be able to beat them off." Nearly forty years after, the heroic Lawrence, dying on the deck of the "Chesapeake," repeated Mugford's words, "Don't give up the ship."

For about half an hour the battle raged fiercely. The British, beaten back with great loss, returned again and again to the attack. The boats would come under the lee of the "Franklin;" but, not being provided with grappling-irons, the British were forced to lay hold of the gunwales of the enemy with their hands, which the Americans promptly lopped off with their cutlasses. Shots from the swivel guns of the Yankee soon stove in two of the boats of the enemy, which sunk, carrying down many of their crew. After nearly an hour of this desperate fighting, the British withdrew, having lost about seventy men. The only loss sustained by the Americans was that of their brave commander Mugford.

About a month after this battle, there occurred off the coast of Massachusetts a battle in which the Americans, though they fought with the most undaunted bravery, were forced to strike their colors to their adversary. The American was the privateer "Yankee Hero" of Newburyport. She sailed from that place for Boston on the 7th of June with only forty men aboard, intending to ship her full complement of one hundred and twenty at Boston. As the "Hero" rounded Cape Ann, she sighted a sail on the horizon, but in her short-handed condition did not think it worth while to give chase. The stranger, however, had caught sight of the "Hero;" and, a fresh southerly breeze springing up, she began to close with the American. As she came closer, Capt. Tracy of the "Yankee Hero" saw that she was a ship-of-war. Despite the desperate efforts of the Americans to escape, their pursuer rapidly overhauled them, and soon coming up within half a mile, opened fire with her bow chasers. The brig returned the fire with a swivel gun, which had little effect. Seeing this, Capt. Tracy ordered the firing to cease until the ships should came to close quarters. The stranger rapidly overhauled the privateer, keeping up all the time a vigorous fire. Tracy with difficulty restrained the ardor of his men, who were anxious to try to cripple their pursuer. When the enemy came within pistol-shot, Tracy saw that the time for action on his part had come, and immediately opened fire with all the guns and small-arms that could be brought to bear. The only possible chance for escape lay in crippling the big craft with a lucky shot; but broadside after broadside was fired, and still the great ship came rushing along in the wake of the flying privateer. Closer and closer drew the bulky man-of-war, until her bow crept past the stern of the "Yankee Hero," and the marines upon her forecastle poured down a destructive volley of musketry upon the brig's crowded deck. The plight of the privateer was now a desperate one. Her heavy antagonist was close alongside, and towered high above her, so that the marines on the quarter-deck and forecastle of the Englishman were on a level with the leading blocks of the Yankee. From the depressed guns of the frigate, a murderous fire poured down upon the smaller craft. For an hour and twenty minutes the two vessels continued the fight, pouring hot broadsides into each other, and separated by less than a hundred feet of water. The brisk breeze blowing carried away the clouds of smoke, and left the men on the deck of the Yankee no protection from sharp-shooters on the enemy's deck. Accordingly, the execution was frightful. Tracy, from his post on the quarter-deck, saw his men falling like sheep, while the continual volleys of the great ship had so cut the cordage of the weaker vessel that escape was impossible. At last a musket-ball struck Capt. Tracy in the thigh, and he fell bleeding to the deck. For a moment his men wavered at their guns; but he called manfully to them, from where he lay, to fight on boldly for the honor of the "Yankee Hero." Two petty officers had rushed to his assistance; and he directed them to lay him upon a chest of arms upon the quarter-deck, whence he might direct the course of the battle. But, strong though was his spirit, his body was too weak to perform the task he had allotted it; and, growing faint from pain and loss of blood, he was carried below.

He lay unconscious for a few minutes, but was recalled to his senses by the piteous cries of wounded men by whom he was surrounded. When he came to himself, he saw the cabin filled with grievously wounded people, bleeding and suffering for lack of surgical aid. The firing of the privateer had ceased, but the enemy was still pouring in pitiless broadsides. Enraged at this spectacle, Capt. Tracy ordered his men to re-open the conflict, and directed that he be taken in a chair to the quarter-deck. But, on getting into the chair, he was suddenly seized with a fainting spell, and gave orders, by signs, that the colors be struck.