Dao Ganmeng rebellion

The Dao Ganmeng rebellion was a military conflict between the Ming dynasty and rebel Möng Mao forces. Dao Ganmeng rebelled in 1397 and expelled the previous ruler Si Lunfa. Si Lunfa enlisted Ming aid in re-assuming control over his territory.

Background
After the Ming–Mong Mao War Si Lunfa was forced to accept Ming suzerainty while the Ming recognized Mong Mao as a semi-independent tusi. In addition the Ming agreed to aid Mong Mao against the Kingdom of Ava and other rivals in Burma.

In 1393 Si Lunfa invaded Ava. Despite the fact that he was ultimately defeated, Ava sent an envoy to the Ming seeking their help in deterring Mong Mao aggression. Acknowledging their position, the Hongwu Emperor sent a letter to Si Lunfa in 1396 warning him of retaliation if further acts of aggression were committed:

Si Lunfa acquiesced to Ming demands. After Mong Mao stopped their military expansion, Si Lunfa began to welcome foreigners such as Buddhists and former Chinese soldiers into his people's traditional territory. Si Lunfa converted to Buddhism and gave gifts to the Chinese for bringing with them the technology of gunpowder and cannons. This greatly angered the traditional elements in his court and in 1397 Si Lunfa was deposed by the leader of an anti-foreigner faction, Dao Ganmeng, and fled to the Ming government for protection. According to the Ming Shilu:

After reaching the Ming capital, Si Lunfa enlisted the Hongwu Emperor's aid in returning him to power. The emperor, desiring peace in the southwest, agreed to his petition and allocated 100 taels of gold, 150 taels of silver, and 500 ding of paper money to his cause. The Marquis of Xiping, Mu Chun, was assigned to provide Si Lunfa military support and retake Mong Mao.

Battle
They returned to Yunnan and stayed in Baoshan while Mu Chun sent the commanders He Fu and Qu Neng with 5,000 troops to oust Dao Ganmeng. The expedition was met with initial success in battle, killing a Mong Mao chieftain, and routing his army, but arrived at an impasse when they failed to take a mountain stockade due to unfavorable terrain. He Fu relayed his situation to Mu Chun, who came to his aid with 500 cavalrymen, and in the midst of night advanced on the enemy position taking them by surprise. While they successfully took the stockade, Mu Chun died soon after from an illness and was replaced by He Fu, who captured Dao Ganmeng and installed Si Lunfa as ruler of Mong Mao once again in 1398.

Aftermath
Si Lunfa died a year later and a new generation of elites rose to power in Mong Mao. His son Si Xingfa, together with Dao Hun and Dao Cuan, conducted short lived raids on Ming territory before military retaliation by the Yunnan guard forced them to stop.

Ming interest in Yunnan and the southwest waned in the following years as the court's attention turned to the civil war between the Jianwen Emperor and his uncle Zhu Di. Following the civil war, the Yongle Emperor became preoccupied with his efforts in pacifying the Northern Yuan, and engaged in several campaigns in Outer Mongolia as well as conducted an invasion of the Hồ dynasty.