When Yunus Khan took up residence in Tashkent in 1484, Ahmad and a large body of Moghuls fled to the steppes.
In 1487, Ahmad's father died and was succeeded in the territory he still controlled by another son, Mahmud Khan.
In the same year he concluded Peace Agreement with Ming China that gave him opportunity to launch three expeditions against the Kalmyks in Northern part of Moghulistan ( Jettisu ), who occupied this region since reign of Esen Taishi and his son Amasanji Taishi .
In the early 16th century, Ahmad and Mahmud decided to counter the growing power of the Uzbeks under Muhammad Shaybani.
The two brothers united the forces and launched a campaign against the Uzbeks, but Muhammad Shaybani proved victorious in battle and took them both prisoner (Babur also was among his uncles' army and participated in this battle in Ferghana Valley, that had turned into disaster, but managed to flee south and hide in mountains with his mother, Kutluk Nigar Khanum, daughter of Yunus Khan, and few followers).