If you attack the wizard, he will cast "Fear" on you and the I-WIZARD daemon (which was previously stopped) is restarted. See WIZARD-FCN.
If you go back to the pentagram room and wait for the wizard, he will still see you talking with the demon even though the demon isn't there. That's because I-WIZARD only checks if the demon is in the room, not that he's visible.
If you ask the demon for the wrong favour (e.g. ask him to move the menhir) the wizard will remain. Only the demon leaves:
If you attack the wizard, he will cast "Fear" on you and the
I-WIZARD
daemon (which was previously stopped) is restarted. SeeWIZARD-FCN
.If you go back to the pentagram room and wait for the wizard, he will still see you talking with the demon even though the demon isn't there. That's because
I-WIZARD
only checks if the demon is in the room, not that he's visible.