Actually, it was a curious mistake made by an American history that Americans sang the song instead of the Bristish.
The truth is that the British band played the song, "The World Turned Upside Down" when the British and Hessian troops marched out to surrender in Yorktown. This surrendering took place under General Cornwallis who surrendered 7,087 officers and men, 900 seamen, 144 cannons, etc.
the United States constitution places restrictions on the quartering of soldiers in private homes without the owner's consent, forbidding the practice in peacetime