सर्वद्वाराणि संयम्य मनो हृदि निरुध्य च ।मूर्ध्न्याधायात्मनः प्राणमास्थितो योगधारणाम् ॥
sarvadvārāṇi saṃyamya mano hṛdi nirudhya ca |mūrdhnyādhāyātmanaḥ prāṇamāsthito yogadhāraṇām ||
Having restrained all the gates of the body, confined the mind within the heart, set one's life-breath in the head, and taken up steadiness in yoga…
Explanation
Krishna is describing to Arjuna how a person can prepare for the moment of death through yogic discipline. The "gates" are the senses, which are withdrawn; the mind is held in the heart, and the life-breath (prāṇa) is drawn up to the head, all in a state of yogic concentration (yoga-dhāraṇā). The sentence continues into the next verse, where the practitioner utters "Om" while remembering Krishna.