According to the Ramayana epic, when Hanuman was crossing the ocean to reach Lanka, he first encountered Mainaka Mountain. Mainaka was a friend of Hanuman's father Vayu (the wind god) and emerged from the ocean to offer Hanuman a place to rest during his arduous journey.