I'm still not sure what stops the party from going "oh look, we are being attacked", fight the monsters, and then recast Tiny Hut and go back to resting after the encounter.
If the answer is "there's too many enemies", ie, overwhelming force, then nothing was going to save them. I keep getting...