Answer
Arjuna was cursed by the celestial nymph Urvashi during his visit to Indra's celestial abode. When Arjuna rejected her advances, she cursed him to become temporarily powerless and lose his warrior skills. However, Indra modified the curse, allowing Arjuna to choose the time when he would be powerless, which he chose during the incognito period of exile.