The Holy Prophet was forewarned of the Quraish plot by Allah. It was revealed that if the unbelievers plotted Allah could frustrate their plot and Allah was the best planner. The Holy Prophet asked Ali to sleep on his bed that night. Thereafter he was to wind up business in Makkah and come to Yathrib. After the departure of other Muslims to Yathrib, Abu Bakr had sought the permission of the Holy Prophet to migrate to Yathrib. Muhammad (peace be on him) had asked him to wait for it was possible that he might have a good companion for the journey to Yathrib. Abu Bakr was, however, asked to keep ready for the call to migrate might come any moment. That day before the Quraish youth could come to besiege his house the Holy Prophet left for the house of Abu Bakr and gave him the tidings that the time for their migration to Yathrib had arrived. At night in the cover of darkness the Holy Prophet and Abu Bakr left Makkah for Yathrib. They did not take the direct road to Yathrib. They moved in the opposite direction, and took refuge in a cave in Mt. Thaur some five miles south of Makkah. In the house of the Holy Prophet at Makkah, Ali locked the doors from inside and lay on the bed of Holy Prophet. He covered himself with the mantle which was the cover of the Holy Prophet. At night the youth of the Quraish surrounded the house according to plan. Peeping inside the house, they saw the bed occupied and felt satisfied that the Holy Prophet was sleeping there as usual. The Quraish youth kept the vigil throughout the night and they felt assured that during the night no one entered the house, nor went out of it. When the day dawned and the door of the house was opened, it was Ali and not the Holy Prophet who had to face the brunt of the fury of the Quraish at the frustration of their plan. "Where is Muhammad?" asked the Quraish, and Ali replied that he had left for Yathrib. When their plan was thus thwarted the Quraish youth were very furious, but Ali faced them boldly without showing any sign of fear. In utter disgust and disappointment the Quraish youth dispersed to carry the tale of the failure of their plan to their leaders Abu Sufyan and Abu Jahl. Once again in the battle between the truth and falsehood, the truth triumphed. That was the closing scene of the drama that had been played at Makkah during the period 611-622 C.E. During this period of eleven years, all the maneuvers that the Quraish had adopted ended in their failure and defeat. Ali remained in Makkah for a few days, and when he had settled all accounts and wound up business he took farewell of Makkah, and took the road to Yathrib. It was not a flight as some writers tried to present, it was a march on the road to the fulfillment of destiny. With the migration of the Muslims from Makkah the war between the Quraish and the Muslims was not over. It meant that such a war was now to be carried on a wider front to the increasing advantage of the Muslims, and the ultimate surrender of the Quraish.