No. Aurangzeb, the Mughal emperor, fought the Marathas in the Deccan for roughly the last 25 years of his reign, from about 1681 until his death in 1707. His forces captured forts and in 1689 captured and executed Sambhaji, the son of Shivaji. However, he never ended Maratha resistance, and the Marathas were still fighting when he died.
Who the Marathas were
Shivaji built a Maratha kingdom in the western Deccan during the 1600s. He was crowned at Raigad in 1674 and died in 1680. His kingdom was not a single unified state in the modern sense, and it relied on a network of military leaders, hill forts and local loyalties.
Aurangzeb’s Deccan campaigns
Aurangzeb moved south in 1681 to take the Deccan, a region that included the sultanates of Bijapur and Golconda as well as the Maratha territories. He conquered both sultanates in the later 1680s. The Marathas were a harder target. In 1689 Sambhaji was captured and executed, which was a serious blow to the Maratha leadership.
Why the Marathas were not defeated
The Maratha forces relied on fast cavalry and hill forts, so they could avoid set-piece battles and keep fighting over a wide area. After Sambhaji’s death, his younger half-brother Rajaram withdrew to the south and continued the resistance. When Rajaram died in 1700, his widow Tarabai led the fight. Aurangzeb’s campaign stretched his army and treasury over many years, and every new fort he took could be lost again.
What happened after Aurangzeb died
The Mughal Empire weakened after Aurangzeb’s death in 1707. The Marathas expanded in the 18th century under the Peshwas, the hereditary chief ministers who led the Maratha state from Pune, and their influence reached much of the subcontinent. So the Marathas survived his reign and grew stronger after it.
Not the same as the Anglo-Maratha wars
The conflict with Aurangzeb took place in the late 1600s and early 1700s, and it was fought against the Mughal Empire. The Anglo-Maratha wars were fought between 1775 and 1818, and the opponent was the British East India Company. Keeping these two periods apart avoids a common mix-up in exam answers.