The rulers of the Qing dynasty learned from the failure of the Ming dynasty and thought that letting the captaincy leave Beijing was the biggest threat. After all, when the captaincy leaves the capital and goes to the place under its jurisdiction, it can carry out its own political opinions and train the army in the place under its jurisdiction, which makes it easier for the people to recognize it, win the hearts of the people and breed rebellious hearts. Therefore, the rulers of the Qing dynasty thought it was easier to supervise them under their noses, so the Qing dynasty did not allow the captives to leave Beijing.
By the time of Kangxi, the children of the royal family had lost the opportunity to enfeoffment the captaincy, but there were still other heterosexual captaincy in the frontier. They had an army and began to compete with the imperial court, so Kangxi decided to cut the vassal king to solve this bad phenomenon. There are certain risks in doing so, so Kangxi intends to concentrate the captaincy in the capital, and he can directly kill the captaincy if he encounters resistance.
Kangxi succeeded in cutting the vassal, greatly reducing the local rule of the vassal king, and began to put his trusted military commanders in the frontier, while he strengthened his rule over the whole country. Therefore, there was only one purpose to deal with the vassal king in Ming and Qing Dynasties, and that was to strengthen local rule.