kṛtvā nimittam itaretarataḥ sametān
hatvā nṛpān niraharat kṣiti-bhāram īśaḥ
The Pāṇḍavas were repeatedly harassed by their enemies, such as Duryodhana and Duḥśāsana. As innocent young princes, the Pāṇḍavas had no enemy, but Duryodhana was constantly plotting against his helpless cousins. The Pāṇḍavas were sent to a house of lac, which was later burned to the ground. They were administered poison, and their chaste wife Draupadī was publicly insulted when her hair was pulled and an attempt was made to strip her naked. Throughout these dangers, Lord Śrī Kṛṣṇa constantly protected the Pāṇḍavas, who were fully surrendered to Him and who knew no shelter other than Him.
In this verse the word itaretarataḥ is significant. Previous to the Battle of Kurukṣetra, Kṛṣṇa had personally killed many demons, including Pūtanā, Keśī, Aghāsura and Kaṁsa. Now, Kṛṣṇa wanted to complete His mission of removing the earth’s burden by killing the remaining impious persons. But as stated here, kṛtvā nimittam: the Lord did not personally kill, but empowered His devotees Arjuna and the other Pāṇḍavas to remove the impious kings. Thus acting personally and through His immediate expansion Balarāma, as well as by empowering His pure devotees such as the Pāṇḍavas, Kṛṣṇa fully displayed the pastimes of the yugāvatāra by reestablishing religious principles and ridding the world of demons. Although the general purpose of the Kurukṣetra battle was to kill the demons, by Kṛṣṇa’s arrangement some great devotees such as Bhīṣma also appeared to be inimical toward the Lord. But as described in the First Canto of Śrīmad-Bhāgavatam (1.9.39) by the words hatā gatāḥ svarūpam, many great devotees played with the Lord as enemies and upon being killed by Kṛṣṇa returned immediately to His abode in the spiritual sky in their original spiritual bodies. Because God is absolute, by His killing He simultaneously removes the demons from the earth and encourages His pure devotees.