Solomon died standing upright supported by his staff. It took a long time for a small worm to eat his staff and let him fall down. If the Jinns had any knowledge of unseen, they would not have continued to work as a slave for a dead master [the Extraterrestrials’ knowledge, therefore is limited and are not undefeatable, something to be remembered in the future].