At the point when Rama was told by Yama, the divine force of death, that his time on Earth was approaching an end, he arranged to leave the Earth by going into the Sarayu stream. 

When Sugriva found out about this, he put Vali's child Angada responsible for the Vanara realm of Kishkindha, after which, he and a gathering of Vanaras went to Ayodhya to join Rama in leaving the Earth. 

At that point, the Vanaras, joined by bears and rakshasas (devils), started to gather there. Advised of Rama's assurance of going to Heaven, the Vanaras, alongside Rishis and Gandharvas, came to see Rama. 

Also, they told Rama: "O Rama, chief among men, on the off chance that you withdraw for paradise spurning every one of us, it will be much the same as heaving Yama's bar upon us." The profoundly ground-breaking Sugriva too saluted Rama, saying: "O master of men, having put Angada on the seat, I have come here. I am resolved to tail you, O King." 

Hearing the expressions of the Vanaras, Rama consented to satisfy their desires. He tells Hanuman, "It is settled that you will live for eternity. However long my history is spoken in this world, you will likewise be adulated. Being subsequently tended to by his dearest Master, Hanuman was enchanted, and stated, "As long as the consecrated subject is available in this world, I will live here, doing your order." 

Immediately, Hanuman tells Jambhavan, Mainda, Dwrivida, and different Vanaras: "As long as the Kali Yuga exists, so will all of you live." Thus, while Sugriva and different Vanaras left the Earth alongside Rama, Hanuman, Jambavan, Mainda, Dvivida, and five different Vanaras (Nila and Nala), are supposed to be as yet alive today.