<human>:  Why did the British surrender at the Battle of Yorktown?
<bot>: The British surrendered because they had been defeated by George Washington and his army. The Battle of Yorktown was the final battle of the American Revolutionary War, which was fought between the British and the Continental Army. After the war, the British were forced to recognize the independence of the United States.