I don’t think that magic can revive something that was already dead. This has been stated before. The reason the hat worked because it still had some magic left after the used and because SB at that time have already consumed with magic brought from the purple smoke.