Jefferson responded with the Embargo Act of 1807 , directed at both France and Great Britain .
Jefferson passed the Embargo Act of 1807 , which made it illegal for the United States to trade with other countries .