Giving up completely all desires that arise from the mind's own intentions, and restraining the entire group of senses from every side by the mind alone…
Explanation
Krishna is describing to Arjuna how to practise the yoga of meditation, which he has just defined as freedom from contact with suffering. Here he names two steps: abandoning every desire (kāma) born of mental projection or resolve (saṅkalpa), and using the mind to rein in the senses from all directions. The sentence continues into the next verse, where the practice becomes gradual stillness.