What arrangement did President Madison make with France to stop the seizing of American ships?

to be its ally in a war against Britain
to be its ally in a war against Britain

to build ships for sale to France
to build ships for sale to France

to trade with France but not with Britain
to trade with France but not with Britain

to help it regain control of the West Indies

to help it regain control of the West Indies