In "The Masque of the Red Death," by Edgar Allan Poe, Prospero, the prince, despite the Red Death killing many of his subjects, feels as though he can protect himself from it. He brings into one of his "castellated abbeys," which is surrounded by a strong wall, a thousand healthy, "lighthearted" friends. The gates of the wall are made of iron, and Prospero has his courtiers weld the bolts shut so that nobody can enter or leave. He has enough food and drink to last a very long time, and among the people he has invited, he made sure to have musicians and dancers and jesters to keep everyone fed and entertained.
Prospero felt that with all of these precautions, he would keep the Red Death out and away from those who were inside.