qnli question: What act was put in place during the Napoleonic wars and the war of 1812? sentence: The Embargo Act of 1807, adopted during the Napoleonic Wars, and the War of 1812 significantly curtailed Boston's harbor activity.