United States sailed with
Delaware to Boston where they were to meet with and to form a patrol squadron. Shortly afterward Barry sighted a frigate flying French colors. Raising his own French flag, Barry maneuvered closer and when reaching it, hoisted the American colors. As Barry was about to open fire on the frigate, she hoisted British colors and identified herself as , preventing an engagement from occurring. When reaching Boston, Barry learned that
Herald and
Pickering were not ready to sail and he decided to continue without them.
United States and
Delaware departed for the
West Indies on 26 July In the ensuing two months two French privateers were captured,
Sans Pareil on 23 August and
Jalouse on 5 September and brought into New Castle, Delaware on 20 September.
United States put to sea again on 17 October with orders to cruise along the New England coast and eastward. However, a severe gale arose the following day and
United States was disabled with a sprung
bowsprit and slackened rigging. Emergency repairs had to be made. After the storm passed, she made her way back to Delaware, arriving on 9 November. Barry received orders in December which returned
United States to the West Indies, taking command of the American squadron there. On 13 January 1799 French batteries at
Deshaies,
Guadeloupe fired 9 rounds at her, but all missed. On 3 February 1799,
United States sighted a French ship and began a five-hour pursuit of the schooner ''L'Amour de la Patrie
. After coming in close to the vessel, United States
opened fire; the third shot went completely through L'Amour de la Patrie
, sinking her rapidly. Barry sent out his boats to collect survivors of the schooner, and they were taken prisoner. United States'' then set a course for
Guadeloupe to arrange a prisoner exchange with the French, but Barry's flag of truce was ignored when
shore batteries opened fire on the boat carrying Barry's envoy. Barry returned to
United States and ordered his gun crews to bombard the batteries in return. On 26 February,
United States pursued the French privateer
Democrat, which had recently capture the British merchantmen .
United States recaptured
Cicero but the pursuit of
Democrat ended when she escaped into shallow water.
United States also recaptured
Maria, another one of
Democrats prizes, and sent both
Cicero and
Maria into Martinique. Returning to Guadeloupe, Barry made another attempt at a prisoner exchange. However, Governor
Edme Étienne Borne Desfourneaux told Barry he held no prisoners because there was no war with the United States. Though skeptical, Barry released his prisoners. On 26 March,
United States took the French privateer
La Tartueffe In April, Barry turned over command of the squadron to
Thomas Truxtun.
United States sailed for home and arrived at New Castle, Delaware, on 9 May. Barry recruited new crew members to replace the ones whose enlistments had expired while
United States underwent refitting and repairs. She sailed again 1 July with orders to patrol the southern Atlantic coast of the United States. Encountering a storm on the 6th which sprung her
bowsprit, she continued on to deliver an artillery company to
Fort Moultrie and then put into the
Gosport Navy Yard for repairs on the 22nd. Returning to patrols on 13 August,
United States experienced an uneventful period and at times sailed in company with
George Washington and .
United States returned to Newport, Rhode Island, in September and Barry waited for further orders.
United States departed on 3 November arriving at
Lisbon, Portugal on 27 November, departing for Lorient on 21 December but had to put in to
A Coruña on 11 January 1800 due to bad weather, and returned in early April 1800. She remained in port for needed repairs until December when Barry was ordered to return to the West Indies. The
treaty of peace with France was ratified on 3 February 1801 and
United States returned home in April. An act of Congress, passed on 3 March 1801 and signed by President
John Adams, retained thirteen frigates. Seven of those frigates, including
United States, were to be placed in a
reserve fleet. Ordered to the
Washington Navy Yard,
United States was decommissioned there along with and . In a letter dated 12 November 1802 Midshipman Ralph Izard was ordered to take command with the rank of Sailing Master. ==War of 1812==