The XYZ Affair was a diplomatic 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.
https://history.state.gov/milestones/1784-1800/xyz
I hope this helps :)