It is red death instead of black death but they are the same thing just different way of looking at it.
They resolved to leave means neither of ingress nor egress to the sudden impulses of despair or of frenzy from within.
Prince Prospero's Castle
There were buffoons, there were improvisatori, there were ballet-dancers, there were musicians, there was Beauty, there was wine. All these and security were within. Without was the "Red Death."
Who dares insult us with this blasphemous mockery? Seize him and unmask him -- that we may know whom we have to hang, at sunrise, from the battlements!"
There was a sharp cry.
a throng of the revellers at once threw themselves into the black apartment, and seizing the mummer whose tall figure stood erect and motionless within the shadow of the ebony clock, gasped in unutterable horror at finding the grave cerements and corpse- like mask, which they handled with so violent a rudeness, untenanted by any tangible form.
He had come like a thief in the night. And one by one dropped the revellers in the blood-bedewed halls of their revel, and died each in the despairing posture of his fall.