Bhagavad Gita · Chapter 6: The Path of Meditation
Bhagavad Gita 6.24
सङ्कल्पप्रभवान्कामांस्त्यक्त्वा सर्वानशेषतः ।
मनसैवेन्द्रियग्रामं विनियम्य समन्ततः ॥
saṅkalpaprabhavānkāmāṃstyaktvā sarvānaśeṣataḥ | manasaivendriyagrāmaṃ viniyamya samantataḥ ||
Giving up entirely all the desires that are born of selfish intention, and restraining the whole group of senses on every side by the mind alone,
Modern context
The method begins at the root. Desires are born of sankalpa, the mind's habit of imagining and planning around what it wants. Cut that and the desires lose their source. The senses are then gathered in 'by the mind alone', which means by understanding and not by force. Rather than struggling with every desire as it appears, the meditator stops the imagining that keeps producing them.