when we executed our decree of death on solomon nothing indicated to the jinn that he was dead except a worm eating away his staff. so when solomon fell down the jinn realised that had they known what lies in the realm beyond perception they would not have continued to be in this humiliating chastisement.
فلما قضينا عليه الموت ما دلهم على موته إلا دابة الأرض تأكل منسأته فلما خر تبينت الجن أن لو كانوا يعلمون الغيب ما لبثوا في العذاب المهين