Bhagavad Gita 8.12

Chapter 8, Verse 12

सर्वद्वाराणि संयम्य मनो हृदि निरुध्य च। मूर्ध्न्याधायात्मनः प्राणमास्थितो योगधारणाम् ॥

sarvadvārāṇi sanyamya mano hṛdi nirudhya ca mūrdhnyādhāyātmanaḥ prāṇam āsthito yogadhāraṇām || 8.12 ||

English translation

Closing the gates of the body, drawing the forces of his mind into the heart, and, by the power of meditation, concentrating his vital energy in the brain;

Shri Purohit Swami — Bhagavad Gita English translation

Commentary

The gates are the senses of knowledge. Closing the gates means control of all senses by the practice of Pratyahara or withdrawal of the consciousness from them. Even if the senses are controlled? the mind will be dwelling on the sensual objects. Therefore the mind is confined or fixed in the lotus of the heart and thery all the thoughts or mental modifications are also controlled. The whole lifreath is now taken up and fixed at the crown of the head (Brahmarandhra or the hole of Brahman).

Swami Sivananda — Bhagavad Gita English commentary (public-domain dataset)