The mistake British General Charles Cornwallis made that ultimately caused his defeat was:
He retreated to Yorktown where he was trapped.
This decision led to the siege of Yorktown by American and French forces, resulting in Cornwallis's surrender in 1781, which was a significant turning point in the American Revolutionary War.