सङ्कल्पप्रभवान्कामांस्त्यक्त्वा सर्वानशेषतः।
मनसैवेन्द्रियग्रामं विनियम्य समन्ततः॥24॥
saṅkalpaprabhavān kāmāṃs tyaktvā sarvān aśeṣataḥ manasaivendriyagrāmaṃ viniyamya samantataḥ
Giving up completely all desires born of the mind's plans, and holding back the whole group of senses on every side by the mind alone. The sense is completed in the next verse.
A desire does not arrive all of a sudden. First the mind thinks about a thing and makes plans, and then the wanting is born. So Shri Krishna points to the root. The senses, too, are to be held back not by force but by a mind that understands.
sankalpa-prabhavan: born of the mind's plans; kaman: desires; tyaktva: giving up; sarvan: all; asheshatah: completely; manasa: by the mind; eva: alone; indriya-gramam: the whole group of senses; viniyamya: holding back well; samantatah: on every side

