Shah Alam’s one remaining pleasure was his literary work. He spent much of his free time in his seventies editing his lifetime’s poetic composition, from which he produced a single volume of his favourite verses, and the Nadirat-i-Shahi, Diwan-i-Aftab.