The battle of Yorktown was the last major battle of the revolutionary war because the British Army, led by General Lord Charles Cornwallis, was forced to surrender because the Continental Army, led by General George Washington, surrounded the British Army.
Hope this helped! :)