qnli question: What act was put in place during the Napoleonic wars and the war of 1812? sentence: Although foreign trade returned after these hostilities, Boston's merchants had found alternatives for their capital investments in the interim.