There are two conditions that need to be fulfilled to gain mastery over yoga:
1. Na anushajjate – Not attached to sense objects or actions. Sense objects indicate receipts and actions are responses. Attachment comes from lack of self-sufficiency. Detachment means having zero value for the world and all it has to offer, yet acting with gusto, enthusiasm and excitement. When you are attached you lose the object or person you are attached to. And the interaction itself becomes painful.
2. Sarva sankalpa sannyasi – Renounce all desires. This indicates reactions. Desire has no place in life as you get what you deserve, not what you desire. Desire comes in the way of your obtaining object of desire. Desire leads to stress and mental agitation. And there is no end to desire. The more you gain the more you will desire.
Thus, one who has mastered yoga has all three processes under the control of the intellect. He has no value for the world as he has attained the state of paripurna, total and complete fulfilment within. Hence the lava of desire has stopped.