The Caliph and the vizier could not return to their human self because they had laughed and forgotten the word "mutabor".