Among his other works, most of the lyrical poems in his Diwan were composed in his retirement, and their chief topics are an enthusiastic praise of Ali, his descendants, and al-Mustansir in particular, along with passionate outcries against Khorasan and its rulers, who had driven him from his home. It also explores his immense satisfaction with the quiet solitude of Yumgan, and his utter despondency again in seeing himself despised by his former associates and excluded from participation in the glorious contest of life. Scattered through all these alternating outbursts of hope and despair, there are lessons of morality, and solemn warnings against the tricks and perfidy of the world, the vanity of all earthly splendour and greatness, the folly and injustice of men, and the hypocrisy, frivolity and viciousness of fashionable society and princely courts in particular.