However, immediately after the child was born, Urvashi, after completing the duty she was sent for, left the infant child and her lover and made her way to the heavens.
The story can be found in both the Ramayana and the Mahabharata.