sadhiyajnam ca ye viduh
prayana-kale pi ca mam
te vidur yukta-cetasah
(Knowledge of the Absolute, Text 30 Chapter 7)
Meaning: Those in full consciousness of Me, who know Me, the Supreme Lord, to be the governing principle of the material manifestation, of the demigods, and of all methods of sacrifice, can understand and know Me, the Supreme Personality of Godhead, even at the time of death.
*** Persons acting in Krsna consciousness are never deviated from the path of entirely understanding the Supreme Personality of Godhead. In the transcendental association of Krsna consciousness, one can understand how the Supreme Lord is the governing principle of the material manifestation and even of the demigods. Gradually , by such transcendental association, one becomes convinced of the Supreme Personality of Godhead, and at the time of death such a Krsna conscious person can never forget Krsna.
Bhagavad Gita: Understand and know Me, even at the time of death [Knowledge of the Absolute (Text 30 Chapter 7)]