so vadharyasya karpanyam viviktadhyatma-darshanah
vimuncatma-tanum ghoram ity ukto vimumoca ha
The Lord, who can distinctly see the minds of others, perceived Brahma’s distress and said to him: “Cast off this impure body of yours.” Thus commanded by the Lord, Brahma cast off his body.
~ Srimad Bhagavatam 3.20.28