The British, faced with a loss of trade, and revenue, while locked not just not in a maritime war with Napoleon, but with an extended land war, in Spain and Portugal, repealed the Orders in Council that were the primary cause of trouble between the United States, and the British Empire.
But the slowness of communications meant that the United States did not know it had won the diplomatic showdown, and Congress declared war in June, 1812.
Good to see someone knows history, Thanks