agnir jyotir ahah suklah
tatra prayata gacchanti
brahma brahma-vido janah
agnih—fire; jyotih—light; ahah—day; suklah—white; sat-masah—six months; uttarayanam—when the sun passes on the northern side; tatra—there; prayatah—one who goes; gacchanti—passes away; brahma—the Absolute; brahma-vidah—one who knows the Absolute; janah—person.
Those who know the Supreme Brahman pass away from the world during the influence of the fiery god, in the light, at an auspicious moment, during the fortnight of the moon and the six months when the sun travels in the north.
When fire, light, day and moon are mentioned, it is to be understood that over all of them there are various presiding deities who make arrangements for the passage of the soul. At the time of death, the jiva sets forth on the path to a new life. If one leaves the body at the time designated above, either accidently or by arrangement, it is possible for him to attain the impersonal brahmajyoti. Mystics who are advanced in yoga practice can arrange the time and place to leave the body. Others have no control—if by accident they leave at an auspicious moment, then they will not return to the cycle of birth and death, but if not, then there is every possibility that they will have to return. However, for the pure devotee in Krsna consciousness, there is no fear of returning, whether he leaves the body at an auspicious or inauspicious moment, by accident or arrangement.
Link to this page: https://prabhupadabooks.com/bg/8/24