The people of Saighan, having heard of Akram Khan's tax collectors behaviors toward the local Ajari populace, fled to the hills to avoid the same fate. It took Akram Khan two to three weeks to re-consolidate the region under his control, with one occasion the Afghans being put to flight with the loss of some eighty men. The Ajar rebellion and distraction upon Akram Khan gave Ishan Uraq and Mir Wali sufficient time to begin gathering their forces and prepare proper defenses against Akram Khan. Despite the death of Shuja'al-Din, the ruler of Mazar I sharif in Autumn of that year, the rulers of lesser Turkestan remained united against Akram Khan. An army of twelve thousand men with twelve guns, under the command of Ishan Uraq and Mir Wali was sent south into the mountains to block the Afghan advance, and when at the end of November, Akram Khan resumed his march north, he found the sizeable force of Mir Wali and Ishan Uraq well entrenched across his line of advance. For nineteen days, Akram Khan was held up "in a pass" unable to break the entrenched defenses of the Turkestan force. Winter, which came early to the Hindu Kush also set in. Akram Khan had the options to fight his way through the Samangan plains, or stay put and risk becoming snow bound in the no-mans land between Khulm and Kahmard. His only other option was to return to Bamiyan and spend the winter there before marching north again. This, however, saw the risk of being attacked by Uzbeks, or even a provoked Hazara rebellion. In the end, Akram Khan decided the best course of action was to negotiate a face-saving agreement, hoping that he could retire south and that the reinforcements he requested from Kabul would arrive to launch another campaign the following spring. An agreement was reached under the terms that Akram Khan acknowledged the Mir Wali's right to Khulm. Akram Khan also recognized the other independent states and governors of lesser Turkestan such as Aqcha, Balkh, Mazar-I-Sharif, and Sar-I-Pul. When Dost Mohammad Khan was informed of the Ajar rebellion and the treaty signed by Akram Khan, he was enraged. He condemned Akram Khan for failing to retire to Bamiyan after the suppression of the Hazaras in the region, and for ceding official recognition of Mir Wali to Khulm, and Bukharan sovereignty over Balkh. Dost Mohammad's temper