The first thing that pops into my mind are the mariners in "The Rime of the Ancient Mariner" who die under the curse of the "Life-in-Death", a kind of strange, fantastic, skeleton shape which the mariner fancies. After the mariner's redemption, the dead men move again, as if it had been a dream (v. 331-334). It is a metaphor, symbolizing the mariner's revival and his ability to love again.