George II was the last British monarch to command from the battlefield.
Napoleon III led his army to the battle of Sedan where his army was defeated and he was captured in 1870.
If we look beyond Europe, there are plenty of other examples. King Sekhukhune II commanded his Pedi army against neighboring Tswana and Boer forces during the Second Boer War in 1900.
Adbdelaziz ibn Saud led the army of the emirate of Nejd against Ilkhwan rebels at the battle of Sabilla in 1929.
Haile Selassie led the final Ethiopian offensive against Italian armies at the battle of Maychew in 1936.
In the cases of Napoleon III and Selassie, their nations had already seen one or more defeats during the war, and the monarchs hoped that their presence on the battlefield would encourage their armies to fight even harder, inspiring the soldiers to victory. Both were unsuccessful.