The arrangement President Madison made with France to stop the seizing of American ships was "to trade with France but not with Britain."
This strategy aimed to improve relations with France while limiting trade with Britain, thereby attempting to protect American shipping interests during the conflicts in Europe.