Srimad Bhagavatam Canto 11, Chapter 30, Text 01

SB 11.30.1

tato maha-bhagavata
 uddhave nirgate vanam
dvaravatyam kim akarod
 bhagavan bhuta-bhavanah
King Pariksit said: After the great devotee Uddhava left for the forest, what did the Supreme Personality of Godhead, the protector of all living beings, do in the city of Dvaraka?
Pariksit Maharaja now inquires from Sukadeva Gosvami about the topic of Chapter One of this canto, namely the annihilation of the Yadu dynasty and Lord Krsna’s return to the spiritual sky. Because Lord Krsna was playing the part of an ordinary member of the Yadu dynasty, He appeared to react to the curse of the brahmanas by giving up His earthly pastimes. Lord Krsna cannot actually be cursed by anyone. Narada Muni and the other sages who cursed the Yadu dynasty are eternal devotees of Lord Krsna and could hardly curse Him. Therefore, in giving up His pastimes and leaving the earth with the Yadu dynasty, Lord Krsna demonstrated His internal potency and personal will, since no one can challenge the supreme potency of the Personality of Godhead.
Srimad Bhagavatam Canto 11, Chapter 30, Text 02