You manage to work an exorcism scroll out of your pocket. You cast a Light spell to see by, and read the arcane incantations.
"A Gilthoniel A Elbereth! I Nomine Masthom et Seth!"
The ancient castle trembles. The wailing of a thousand lost souls rises from within it. Suddenly, an orange burst of fiery magical energy blasts out of it, arcing to the heavens, bringing the castle's inhabitants to their final rest...