When He enters this world as Paramātmā, He is all-pervading (aṇḍāntara-stha-paramāṇu-cayāntara-stham (Bs. 5.35)), yet He is transcendentally situated. For the creation, maintenance and annihilation of this material world, the Lord appears as the guṇa-avatāras-Brahmā, Viṣṇu and Maheśvara. Thus Vasudeva offered prayers full of meaning to the Supreme Personality of Godhead. Devakī followed her husband by offering prayers describing the transcendental nature of the Lord. Fearing Kaṁsa and desiring that the Lord not be understood by atheistic and materialistic nondevotees, she prayed that the Lord withdraw His transcendental four-armed form and appear like an ordinary child with two hands.
The Lord reminded Vasudeva and Devakī of two other incarnations in which He had appeared as their son. He had appeared as Pṛśnigarbha and Vāmanadeva, and now this was the third time He was appearing as the son of Devakī to fulfill their desire. The Lord then decided to leave the residence of Vasudeva and Devakī, in the prison house of Kaṁsa, and at this very time, Yogamāyā took birth as the daughter of Yaśodā. By the arrangement of Yogamāyā, Vasudeva was able to leave the prison house and save the child from the hands of Kaṁsa. When Vasudeva brought Kṛṣṇa to the house of Nanda Mahārāja, he saw that by Yogamāyā's arrangement, Yaśodā, as well as everyone else, was deeply asleep. Thus he exchanged the babies, taking Yogamāyā from Yaśodā's lap and placing Kṛṣṇa there instead. Then Vasudeva returned to his own place, having taken Yogamāyā as his daughter. He placed Yogamāyā on Devakī's bed and prepared to be a prisoner as before. In Gokula, Yaśodā could not understand whether she had given birth to a male or a female child.