On the one hand, you're not a brainless Paladin with some kind of excessively rigid code of honor that demands you throw yourself into the fray without a plan to actually accomplish anything, you're a Rogue, and an assassin at that. On the other hand, you aren't really Good if you refuse to risk yourself to help a teammate in dire need.

Keep your head, work as hard as you can to save your allies from themselves, and in the aftermath feel free to point out how their foolishness almost got you all killed.