 Abdul Samad sought British help to win the war, and Masahor ended up fighting against the British for a second time.Nevertheless, after the surrender of Raja Mahadi and Syarif Masahor, they were both pardoned by Abdul Samad.Syarif Masahor died in Kerling, Selangor in 1890 and was buried there.