After the XYZ Affair, what did President Adams do instead of declaring war?

He increased the size of the army.

He halted all trade with Europe.

He increased the size of the American navy.

He did not allow European ships in American ports.

After the XYZ Affair, President Adams increased the size of the American navy.