As soon as they received the news, Rana Bahadur and his group proceeded towards Kathmandu. Some troops were sent by Kathmandu Durbar to check their progress, but the troops changed their allegiance when they came face to face with the ex-King. Damodar Pande and his men were arrested at Thankot where they were waiting to greet the ex-King with state honors and take him into isolation. After Rana Bahadur's reinstatement to power, he started to extract vengeance on those who had tried to keep him in exile. He exiled Rajrajeshwari to Helambu, where she became a Buddhist nun, on the charge of siding with Damodar Pande and colluding with the British. Damodar Pande, along with his two eldest sons, who were completely innocent, was executed on 13 March 1804; similarly some members of his faction were tortured and executed without any due trial, while many others managed to escape to India. Rana Bahadur also punished those who did not help him while in exile. Among them was Prithvipal Sen, the king of Palpa, who was tricked into imprisonment, while his kingdom forcefully annexed. Subarnaprabha and her supporters were released and given a general pardon. Those who had helped Rana Bahadur to return to Kathmandu were lavished with rank, land, and wealth. Bhimsen Thapa was made a second "kaji"; Ranajit Pande, who was the father-in-law of Bhimsen's brother, was made the "Mulkaji"; Sher Bahadur Shah, Rana Bahadur's half-brother, was made the "Mul Chautariya"; while Rangnath Paudel was made the "Raj Guru" (royal spiritual preceptor).