What event led Great Britain to concentrate its full efforts on fighting the War of 1812?

A. Passage of the Non-Intercourse Act
B. The defeat of General Cornwallis
C. The capture of Napoleon
D. The Chesapeake affair