In September 1788, during the Austro-Turkish War, the army of the Holy Roman Empire staged one of the most improbable episodes in military history: a bloody pitched battle against its own ranks near present-day Caransebeș, in Romania.
It all began when a vanguard of cavalry hussars crossed the Timiș River to scout Ottoman positions. Finding no enemies, they bought several barrels of schnapps from local merchants to celebrate. Shortly after, infantrymen reached the site and demanded their share of the loot. Facing the riders' refusal, a fistfight broke out that quickly escalated into musket shots.
Amid the darkness and the effects of alcohol, someone panicked and shouted: "Turks, Turks!". Collective hysteria spread like wildfire. The imperial contingent, made up of soldiers who spoke German, Hungarian, Romanian, Serbian, and Italian, collapsed under the language barrier. Officers tried to stop the stampede by shouting "Halt! Halt!" ("stop" in German), but the fleeing troops thought they heard the Ottoman war cry "Allah! Allah!".
Believing they were victims of a massive ambush, artillerymen opened cannon fire on their own comrades, while the cavalry charged blindly in the dark. The clash caused thousands of casualties and the hasty flight of Emperor Joseph II. When Ottoman troops arrived 2 days later, they found the field covered with dead Austrian soldiers without having fired a single bullet.
Source: Geoffrey Regan, «The Guinness Book of Historical Blunders» (1994) and records of the Vienna War Archive (Kriegsarchiv).