what was the make british general charles cornwallis made that ultimately caused his defeat

He retreated to Yorktown where he was trapped.

Hope this helps :)