In 1912, Hoja Niyaz returned to Xinjiang where another uprising against the Kumul Khanate, led by Timur Halpa, was developing, and he joined the rebellion. Following the treacherous killing of Timur Halpa at the banquet, held by Xinjiang Governor Yang Zengxin, who previously had mediated the conflict and raised Timur Halpa to the position of Commander of provincial troops in the Kumul Region, Hoja Niyaz was forced again to flee.