al-Khiḍr says ‘I didn't do it of my own command/initiative/authority.’ 18:82
enjoin: To direct or impose with authority and emphasis.
ʿamīr — commander
[Such believers are] the repentant, the worshippers, the praisers [of Allah], the travelers [for His cause], those who bow and prostrate [in prayer], those who enjoin what is right and forbid what is wrong, and those who observe the limits [set by] Allah. And give good tidings to the believers.