I’d say always have a back door to any encounter so if it goes completely tits up like an npc dies or something irreversible happens you can carry on without having to through out the whole adventure.
My players sometimes worry that they are going to do something to derail the adventure but if...