By the continuation of the war situation in the Hijaz, there was a group of inconclusive confrontations, but the most prominent of these confrontations was near Khaybar, in which the Turks were defeated and their leader was captured in January (1917 AD), and this incidence represented a shift in the confrontation between the Ottomans and Al Ashraf. As Fakhri Pasha became facing the Arab armies in every direction; this caused his anxiety and dissipated the first phase of control with a further siege on him in Al Medina Al-Munawwarah.
The circle began to narrow over the Ottoman garrison, and losses began to be incurred to it in several locations, until the garrison found itself surrounded in the borders near Al Medina Al-Munawwarah. This encouraged the Arabs to ask Fakhri Pasha to announce his capitulation, especially after cutting off all his communications with his headquarters in Syria, and his loss of control on the road from Medina to Syria. However, Fakhri did not respond and refused to capitulate despite his full knowledge that he would not succeed in resisting the Arab forces surrounding him from every direction, no matter how he tried to revive his strength and the strength of his garrison. The state of deterioration for him and his forces continued and retreated, until he learned of the Ottoman Empire contracting an armistice (Mudros) in October (1918 AD), according to which the Ottoman Empire pledged to withdraw from the areas agreed upon in the settlements of the war, including the Hijaz, as the Grand Vizier sent a letter to Fakhri Pasha in which he said: “After we made tremendous efforts and great sacrifices for more than four years for the sake of religion and honor, the countries in which we were fighting and on their side were defeated and severely weakened, which forced our Ottoman Empire to contract an armistice with the allied countries. And one of the articles of this armistice is provided that our forces in Hijaz, Asir and Yemen shall capitulate to the closest Allied commander. You are my friends, the soldiers who have fulfilled the duty of honor and dignity years ago, so your acceptance of this painful and cruel ruling will stem from a feeling of patriotism. As that will save the motherland from certain annihilation, and there is no doubt that your work is greatly appreciated.”