When Hanuman was taken in the presence of Ravana and claimed to be the ambassador of Rama; and also asked him to undo the wrong done by him in order to save himself from the vengeance of Rama; Ravana, in great fury ordered him to be put to death. At that time Vibhishana reminded his brother that as ambassador, the life of Hanuman was sacred. On another occasion, when Vibhishana advised Ravana about the restoration of Sita, the demon-king, in great ire, kicked him. In great disgust he left Lanka and sided with Rama. When the war ended with the slaying of Ravana, Rama installed Vibhishana as the king of Lanka.
References :
1. Kohli, Surindar Singh, Dictionary of Mythological References in Guru Granth Sahib, 1993