One day Magadha raaja was inspired by the teachings of the sanyaasi. He gave away his kingdom and went to the forest for daiva-dhyaanam. In the same manner, Kaambhoja raaja was also inspired and went to the forest for daiva-dhyaanam. He also had given away everything he had.
- There is no need to go to the forest and to do the daiva-dhyaanam for moksham. One can achieve it while doing all his duties, but being a viraagi.Even Lord Krishna says in the Bhagavadgita:अनाश्रितः कर्मफलं कार्यं कर्म करोति यः।
स सन्यासी च योगि च न निरग्निर्न चाक्रियः॥६-१॥
"He who does his duty without expecting the fruit of action is sanyasi and yogi both, and not the one who has simply renounced the fire or given up all activity." - The easiest way is to do nishkaama karma and surrender everything to God. Then one will not be attracted to the benefits of karma, whether good or bad.यत्करोषि यदश्नासि यज्जुहोषि ददासि यत्।
यत्तपस्यसि कौन्तेय तत्कुरुष्व मदर्पणम्॥९-२७॥"Arjuna, whatever you do, whatever you eat, whatever you offer as oblation to sacred fire, whatever you bestow as a gift, whatever you do by way of penance, offer it all to Me. "सर्वधर्मान् परित्यज्य मामेकम् शरणं व्रज।
अहं त्वा सर्वपापेभ्यो मोक्षयिष्यामि मा शुचः॥१८-६६॥"Resigning all your duties to Me, the all-powerful and all-supporting Lord, take refuge in Me alone, I shall absolve you of all sins, worry not. "