To the sage who desires to rise to Yoga, action is said to be the means; and when he has risen to Yoga, Samadhi (cessation of all actions) is said to be the means.
आरुरुक्षोर्मुनेर्योगं कर्म कारणमुच्यते। योगारूढस्य तस्यैव शमः कारणमुच्यते॥