Was the practice of Britain's Royal Navy of sending officers to board American ships, inspect the crew, and seize sailors accused of being deserters from British ships. Incidents of this impressment are usually cited as one of the causes of the War of 1812.
The XYZ Affair was an incident between French and United States diplomats that resulted in a limited, undeclared war known as the Quasi-War. U.S. and French negotiators restored peace with the Convention of 1800, also known as the Treaty of Mortefontaine.
The Quasi-War on 1798-1800, was an undeclared naval war between the United States and France during the Presidency of John Adams. It grew out of the XYZ Affair and ended when French politics changed direction after Napoleon came into power.