Vairagya doesn't necessarily mean going to Himlayas. We can practice vairagya in normal life as well.
Vairagya Comes from Vivek (Differentiating between the right and the wrong) and then becomes strong through Abhyas (Constant practice of detachment from worldly objects and desires)
VIVEK = > VAIRAGYA <= ABHYAS
A proper definition given by Maharishi Patanjali in the Yogashastra:
"दृष्टानुश्रविकविषयवितृष्णस्य वशीकारसंज्ञा वैराग्यम् ।"
i.e. Vairagya means the absence of desire for seen & unseen objects. When one's mind no longer desires for worldly objects, it naturally inclines towards contemplation of the supreme reality.
King Bhartruhari's (भर्तृहरि) "Vairagya Shatakam" वैराग्य शतकम is a good book to read for those who are interested in the subject.
King Bhartṛuhari says in his Vairāgya-śhatakam :
उत्खातं निधिशङ्कया क्षितितलं ध्माता गिरेर्धातवो
निस्तीर्णः सरितां पतिर्नृपतयो यत्नेन सन्तोषिताः।
मन्त्राराधनतत्परेण मनसा नीताः श्मशाने निशाः
प्राप्तः काणवराटकोऽपि न मया तृष्णेऽधुना मुञ्च माम्॥
Vairagya (non-attachment) can be of two kinds-
The mind of a man who has got the former type of Vairagya is simply waiting for a chance to get back the things that were given up. As soon as the first opportunity offers itself, the man gets the downfall and goes back to his former state. But the other man who has given up the objects on account of Viveka, on account of illusory nature of objects, will have spiritual advancement. He will not have a downfall.
Stages of Vairagya -
(1) Yatmana - efforts to guide the mind away from sensual pleasures
(2) Vyatireka - Awareness of your level of Vairagya towards certain objects
(3) Ekendriya- Passiveness of your senses with attachment or aversion of mind to an object
(4) Vasikar - Highest stage of Vairagya. NO more desires and leads to self realization