My understanding is that the last British King to lead troops into battle was George II at Dettingen in 1743. However, I think Albert I of Belgium fought on the Western Front in WW1.
What’s the latest head of state that could lead troops into battle? King George VI could have sat on a battleship off the Normandy coast?