Yeah Shran's "not being able to sleep at night" was just silly at best. And amazing how getting shot never seriously seems to injure you so long as you're part of the main cast. Gotta love those plot driven weapons. This isn't even the worst time Shran shows up quite obviously as a plot convenience, but you forgive him it because he does it with style.
Of course in a real world, Archer probably would've been relieved after P'Jem. That sort of thing sorta happens when you go out of your way to make your biggest ally mad.