"It was a grisly place, that spacious room. There were thirty-six corpses of adults in sight, stretched on their backs on slightly slanted boards, in three long rows—all of them wax-white, rigid faces, and all of them wrapped in white shrouds. Along the sides of the room were deep alcoves, like bay windows; and in each of these lay several marble-visaged babes, utterly hidden and buried under banks of fresh flowers, all but their faces and crossed hands. Around a finger of each of these fifty still forms, both great and small, was a ring; and from the ring a wire led to the ceiling, and thence to a bell in a watch-room yonder, where, day and night, a watchman sits always alert and ready to spring to the aid of any of that pallid company who, waking out of death, shall make a movement—for any, even the slightest, movement will twitch the wire and ring that fearful bell. I imagined myself a death-sentinel drowsing there alone, far in the dragging watches of some wailing, gusty night, and having in a twinkling all my body stricken to quivering jelly by the sudden clamor of that awful summons!"
— Mark Twain on Germany’s waiting mortuaries, “hospitals” for the dead constructed to ensure one wouldn’t be buried alive. you can read a little more here
or pick up Jan Bondeson’s Buried Alive