With Vayu gone, having said that, human beings turned asphyxiated and struggled for breath. To be able to draw the wind god out of hiding, the devas petitioned Brahma to mend Hanuman's wounds, which he did. Additionally, the gods observed to it that Hanuman was blessed with various boons https://www.youtube.com/watch?v=6cAOQp6Twlc&t=7s