What did John Adams do about the XYZ affair?

During what's known as the XYZ Affair, President Adams sent diplomats to France for the purpose of attempting to negotiate peace with France. The end result was the Treaty of Mortefontaine.