He was commissioned by the Mughal Emperor Aurangzeb as a commander of 4000 in 1667[1] to invade the Ahom Kingdom of present-day Assam,[2] but the loss at the Battle of Saraighat (1671) and the subsequent retreat[3] led to his recall to the capital and following disgrace and a downfall in rank and order at the imperial Mughal court which though lasted for a short span of time, rejuvenated by his great-grandson Maharaja Sawai Jai Singh II[4] in the beginning of 18th century.
Shivaji was offended by being made to stand alongside relatively low-ranking nobles,[5] stormed out of the court, and was promptly placed under house arrest.
He ordered the majority of his troops home and urged Ram Singh to withdraw his pledges to the emperor for the safe custody of himself and his son.
[10] Ram Singh fought Ahom kingdom with 21 Rajput chiefs, his own 4,000 soldiers, 1,500 ahadis (Mughal emperor's own household troops), 500 artillerymen, and with the reinforcements from Bengal, numbers totalled up to 30,000 infantry, 18,000 Turkish cavalry, and 15,000 Koch archers.
Ram Singh grew sick of war and finally, in 1676 he was allowed to leave and return to his province.