Hazrat Sayed Ali's entire body continued fighting for another three days before being killed (Inna Lillahi Hi Wa Inna Ilayhi Rajioon). The Mandogar King was furious at his soldiers and commanded them to go to the battlefield where he would join his army and fight Hazrat Sayed Ali's army.
Many soldiers way soldiers of Hazrat Sayed Ali in this war and came on to the path of Imaan. Many soldiers were killed and Hazrat Sayed Ali won the war. Hazrat Sayed Ali placed his flag of victory on the Mandogar palace.
The Mandogar King saw that his army was reduced. He regretted this mistake of going into the battle with Hazrat Sayed Ali's forces. When the Mandogar King saw Hazrat Sayed Ali, the King sweated and felt Hazrat Sayed Ali to be a miraculous figure in the form of a human being, who killed army of his soldiers in quick time and came towards him.
Hazrat Sayed Ali fought courageously and victory was attained. Hazrat Sayed Ali had the strength of Hazrat Ali (R.A). Hazrat Ali (R.A) had confronted the Mandogar King. The fighting between Hazrat Sayed Ali and the Mandogar King ensued and the King was injured. Like a coward, the King ran away and hide in a cave.
Hazrat Sayed Ali pursed him into the cave. At the entrance of the cave, there was a soldier on horseback who began shooting arrows at on seeing Hazrat Sayed Ali.
Inalillahi Aaleo wa And in the process Hazrat Sayed Ali cut the Mandogar King's body into pieces. Hazrat Sayed Ali became Shaheed. Hazrat Sayed Ali was martyred on Monday. Muharram 986(or 1012) on the place where Hazrat Sayed Ali was martyred flowers gathered round him.
Hazrat Sayed Ali appeared in his father's dream and informed his father that he was martyred in Allah's way. "I am in a cave take me from here and bury me in Unava. Bury the Mandogar King's platt at my feet."
Hazrat Sayed Ali's father, Dosu Mia, informed Mehmood Badshah about the dream and Mehmood Badshah was broken hearted as Dosu Mia on hearing about the martyrdom of Hazrat Sayed Ali.
Dosu Mia and Mehmood Badshah then proceeded with soldiers to the cave and they were surprised to find a bed of roses on the spot where Hazrat Sayed Ali was martyred.
Hazrat Sayed Ali's Mubarak body was transported by camel to Unava. When they arrived in Unava, the camel stopped at a place and refused to move even after beating the camel fiercely; she still remained unmoved.
The caravan leader enquired as to which place it was and learnt that it was the spot where Hazrat Sayed Ali desired to be buried.