I know this used to happen all the time but it seems to have become less and less common as time has gone on, I was just wondering if there were any recent examples of this.
I can provide some South Asian examples.
Now, before I list down the names of all the Rajas and Nawabs who led their armies into battles we need to think about why they did so. The institutions and especially the military of the various states in the Indian subcontinent in the period were not at the stage necessary to produce an efficient officer corps which would enable the Regent to allow such commanders to take charge of the forces and to lead them into battle.
The mobility usually made up the officer corps, with the added element of European mercenaries and military adventurers who were hired by native princes and kings to modernise their army's organisation, structure and drills. However, such adventurers couldn't be trusted not to betray the prince and their army when facing European opponents or a better offer from a rival king. Therefore, for practical and political reasons, the Kings, Nawabs etc, chose to lead their armies personally. Another reason for doing was morale. The military labour market of the Indian subcontinent was near saturation, with martial groups, tribes and castes willing and able to do mercenary work available in abundance. However, this meant that more of the than not the soldiers in either side fought not out of a sense of loyalty or allegiance, instead they fought for money. Lack of discipline and morale was obvious. This forced many kings and Rajas to personally lead these troops into battle. Giving them the courage and assurance that not only was the Raja paying for them, but would also fight and die alongside them. Ofcourse, as forces began more regularised and standardised these problems became less prevalent such as the Campoo Batallions of Scindia raised by Benoit de Boigne recruited from among the Purbiya Brahmins of Oudh. Or the Rajputs Rathores of Marwar.
Another added reason was the sense of honour and duty that was still quite strong among Indian kings and culture. It was considered honourable and a sacred duty for a king to lead their armies into battle.
Now, the folliwng list includes both major wars and individual battles. And I've tried to add as much background information as deemed necessary. Keep in mind this list is neither complete not an encyclopedia but rather simply a list of names and perhaps a description of their achievements if necessary.
BENGAL WAR (1756-1765)
After the Battle of Plassey 1757, the EEIC had gained control over the office of Diwan (prime minister) in the Bengal Subah (province) of the Mughal Empire. The Bengal war was waged by the then Mughal Emperor Shah Alam II in order to recapture it. While it had three major Indian rulers including the Emperor himself commanding in the war, the most notable contribution was from the then Nawab of Oudh, in terms of troops and resources and any tactical acumen.
ANGLO MYSORE WARS
Fought between the Sultan of Mysore Haider Ali, who was succeeded by his son Tipu Sultan, against the English East India Company. The resources and manpower at the disposal of Haider Ali and later Tipu Sultan were limited. However, by sheer natural talent, administrative competence and luck, they managed to resist being conquered and extinguished by the EEIC between 1766-1799. With the Fall of Seringapatnam and the death of Tipu Sultan, the Fourth Anglo-Mysore war had ended.
ANGLO-MARATHA WARS
Flight between the Maratha Confederacy and the English East India Company, these wars featured some of the most competent commanders and figures to take the stage in Maratha history. Out of these, the folliwng actually served in the war on the front lines along with their soldiers, Mahadji Scindia, Tukoji Holkar, Peshwa Madhavrao II, Nana Phadnavis, Yashwantrao Holkar and Daulat Rao Scindia. The first of these wars was a decisive victory for the Marathas. With a stalemate being reached in the second one and the Marathas loosing political relevance by the Third..
REBELLION OF 1857
The Rebellion of 1857, was a watershed moment in Indian history, sparked off by the material and religious/caste concerns of the sepoys of the Bengal Army, it saw many nobles and Kings and even Queens, leading their armies into battle.
The sepoys of the Bengal Presidency, were in fact not recruited from the Provinces of Bengal or Bihar or Odissa. The British felt that the Bengalis were best suited for clerical work and that the South Indians were smaller in stature and lacked the physical robustness they wanted in their soldiers. Therefore, the entirety of the soldiers of the Bengal Presidency were drawn from the Kingdom of Oudh, which was an ally of the British ever since their Nawab was defeated by the Company at the Battle of Buxar and signed the Allahabad Treaty.
The soldiers that were recruited were mostly drawn from the Brahmin and Rajput castes of Oudh commonly known as Purbiyas. The term Purbiya originated in medieval India. It was used as a term to refer to mercenaries belonging to the Brahmin or Rajput caste from Oudh and Western Bihar. Throughout the medieval and early modern period, these were the preferred mercenaries highered, by mansabdars, Wazirs, Rajas and Mughal Emperors.
The Rebellion of 1857, was started due to and was the result of in large part the discontent of the native sepoys of the Bengal Presidential Army. These aforementioned injustices that the sepoys went through only further strained the relationship they had with their employers, especially after the company usurped Oudh from its Nawab on false ground of maladministration and imposed heavy tax farming revenues obligations on its zamindari/taluqadari class. This imposition of a heavy tax burden meant that the rural peasantry of Oudh, the very peasantry which supplied the Bengal Army with it's native sepoys had become more and more hostile towards it. The discontent of the farmers and families of the sepoys would naturally find its way into the general perception and feeling the sepoys had towards the Company. Hence, due to its polices the Company had turned the sepoys of Oudh, it's peasantry and its lower nobility against itself. Meanwhile, thanks to the Company's policy of aggressive expansion, the Company had made enemies of many prominent noble houses in North India, including, The Nawabs of Awadh, the Kingdom of Jhansi, the successor of the Peshwa of the Maratha Empire at Kanpur and many smaller noble houses as well.
The discontent of the Oudh sepoys were manifold. Apart from the aforementioned concerns the sepoys also felt cheated when they were denied the "bhatta" or bonus for foreign service. Since, after the annexation of Punjab, Awadh and most of North India these regions weren't considered "foreign". The Oudh sepoys of the Bengal Presidency were also incredibly strict regarding their caste and religious practices. Crossing the Indus was considered to result in a loss of caste. Consumption of pig and cow meat was forbidden for the Muslim and Brahmin and Rajput members of the Bengal army. The Brahmins were roughly 40%, the Rajputs were around 20% as well as Ahirs and Muslims. This meant that the Bengal Army was also a lot less diverse compared to the armies of Bombay or Madras. The fact that the British organised their armies into homogenous single battalion regiments drawn from one caste, also added to the large support base that the resentments found among the Bengal Army and the ease with which sepoys could organise and prepare themselves for action.
Therefore, there existed a powder keg, of resentment against the Company which the Company lit itself by introducing the "match" which was the Pattern 1853, Enfield, rifled musket. To load the new rifle, soldiers had to bite a cartridge open and pour the gunpowder it contained into the rifle's muzzle, then stuff the paper cartridge (overlaid with a thin mixture of beeswax and mutton tallow for waterproofing) into the musket as wadding, the ball being secured to the top of the cartridge and guided into place for ramming down the muzzle.
Many sepoys believed that the cartridges that were standard issue with the new rifle were greased with lard (pork fat) which was regarded as unclean by Muslims and tallow (cow fat) which angered the Hindus. The sepoys' British officers dismissed these claims as rumors, and suggested that the sepoys make a batch of fresh cartridges, and greased these with pig and cow fat. This reinforced the belief that the original issue cartridges were indeed greased with lard and tallow.
On the 29th of March, 1857, a Brahmin sepoy named Mangal Pandey, attacked his British officers and his capture and subsequent hanging marked the beginning of the revolt.
Among the many notable nobles who would lead their armies into battles were Peshwa Nana Saheb, Ramachandra Panduranga Yawalkar who took the title "Tantia Tope", "Rani of Jhansi" or Queen of Jhansi Manikarnika Tambe, "Veer" Kunwar Singh and Birjis Qadr "Prince of Oudh" who along with his mother Queen Regent of Oudh led the Rebellion in Lucknow.