Aurangzeb was very sore by this defeat. He decided to put an end to Guru Gobind's life. He ordered the viceroys of Sarhind and Lahore to launch an attack once again on the Guru, which was laid by Subedar Wazir Khan, Zabardest Khan - the commander of Kashmir, and Dilewar Khan - the commander of Kashmir. They attacked Anandpur in Dol and all the hill-chiefs joined them. The Sikhs had to face overwhelming odds. They fought bravely but the enemy soon besieged the city and the Sikh army was confined to the fort for six month. As a result, food provisions for the Sikhs fell short and this created a grave problem. Guru Gobind Singh, however, continued to boost the morale of his army by reminding them of their pledge and the great sacrifice made by Guru Tegh Bahadur. The army was rejuvenated at his impassioned words and they charged at the enemy forces with full force.
The battle went on for three years. Some began to lose heart and begged the Guru to evacuate the fort. When their enemies became aware of discontentment, they decided to take advantage of it and made a cunning move. The commander in-chief sent a message bearing the imperial signature to Guruji's camp. Swearing by the holy words of the Quran, the message read that the emperor did not went to damage Guruji's force and if he agreed to leave the town and go somewhere else, he would end the battle, since he did not want anymore bloodshed. But the Guru told them that he had no faith in the oaths and they were to be broken. The Siege, therefore, continued. The hardships of the besieged were becoming unbearable, so much so, that a group of Sikhs decided to go away, against the wishes of the Guru. At this, the Guru asked all those who wanted to leave to give in writing that he was not their Guru and they were not his Sikhs. A few hundred soldiers wrote the disclaimer and went away. After sometimes, the Guru's mother became in favour of going away too. At last, the Guru yielded to her wishes. He realized that the enemy was stronger at the moment and he did not want innocent people to die in the battle.
He decided to retreat for the time being, and when he told his disciples about it they approved of his decision.
So no the cold night of December 20, 1704, Guruji;s caravan left the town with his two wives, Mata Sundri and Mata Sahib Kaur, his mother, his four sons and hundred of his ardent devotees. He managed to reach Tirathpur but the enemy forces treacherously attacked them from behind. The Guru and his army pounced upon the enemy and managed to reach the bank of the river Sirsa. But they had to stop there since the river was in spate and chilly winds blew all abound. Some Sikh soldiers insisted on staying and persuaded Guruji's and his family to cross the river one by one. However, on reaching the other side of the river he could not find his two younger sons, Baba Jarovar Singh and Baba Fateh Singh. He looked for them everywhere but was unable to find them. Dejectedly he left for the Chamkaur Sahib in the Ambala district, with his two elder sons, Baba Ajit Singh And Baba Juhar Singh. But the enemy forces chased them here also and Gobindji fought heroically with his few soldiers. Later, on the advice and insistence of his disciples, he left for a safe place. Guruji lost both his sons also in this battle.
Mata Gujari, who had got lost in the Sirsa river, was with the two younger sons of Guru Gobind Singh. She happened to meet a Brahmin named Gangu, who at one time had been their cook. This man however, was lured by the ornaments and wealth in the boat, so he gave away Guruji's two younger sons and Mata Gujari to the governor of Sarhind, Nawab Wazir Khan. The Nawab was very pleased to have the two boys of the Guru in his custody. He felt that if he could convert the two boys to Islam it would not only be a remarkable achievement, but also give a jolt to the morales of the Sikhs. So he tried to frighten the boys by telling them that their elder brother were slain and their father was missing, but they could survive if they accepted Islam as their religion. The boys withstood all the temptation and were undaunted by threats. They did not budge from their faith, and their constant refusal made the Nawab lose his temper. He ordered the boys to be taken away and be entombed inside a wall, so that they would suffocate to death. But still the boys did not relent and scarified their lives for their dharma. Mata Gujari could not bear this sorrow, and so died of Shock.
At that time, there lived in Sarhind a Sikh named Todar Mal. When he heard that Guru Gobind Singh's mother and his two sons were in the custody of Nawab Wazir Khan, he immediately set off to the court with a large bag of gold coins with him. But he was filled with remorse when on reaching there he found that the boys had been beheaded. Their grandmother had died hearing of the martyrdom. Thereupon, he went straight to the Nawab and sought his permission to cremate the three bodies. The Nawab agreed, but asked Todar Mal to pay a very high price for the land in which the cremation was to take place. The faithful Sikh chose the sight and paid for it with gold coins. He then cremated the martyrs' bodies and Mata Gujari's, and buried their ashes there.
On the Spot where the three bodies were cremated, now stands a Gurudwara named Jyoti Swaroop.
Aurangzeb, Guru Gobind life, Viceroys of Sarhind and Lahore, Subedar Wazir Khan, Zabardest Khan, Zabardest Khan, Commander of Kashmir, Dilewar Khan, Guru Gobind Singh, Guru Tegh Bahadur, Commander in-chief, Mata Sundri, Mata Sahib Kaur, Tirathpur, Baba Jarovar Singh, Baba Fateh Singh, Baba Ajit Singh, Baba Juhar Singh, Brahmin named Gangu, Morales of the Sikhs