What arrangement did president Madison make with france to stop seizing of american ships?

to be its ally in a war against britain.
to build ships for sale to france.
to trade with france but not with britain.
to help it regain control of the west indies

The arrangement that President Madison made with France to stop the seizing of American ships was to trade with France but not with Britain.