Were Cain's actions "legal" in the sense that she was allowed to do it? Sure, under most generic military justice-type schemes during a time of war. But justified? No way. She was justified in relieving him of command and sending him to the brig. But not shooting the man who was trying to remind her that she was doing EXACTLY what she said she wouldn't do, and in pointing out that the risks drastically outweighed any reasonably likely reward. And in retrospect, he ended up being completely right. I watched the whole thing again last night. It was interesting to see how friendly and familiar Cain and the XO (Belzen) were during the scenes at the shipyard. He was calling her by her first name, inviting her to spend the down-time with him and his family; the shared looks and little jokes after Cain had just planted the fear of God (or rather, "fear of the Gods" ) into Kendra Shaw right after she reported to CIC the first time, etc. And then the marked contrast when he was trying to get her to see reason during battle, when it was clear her plan was completely out of touch with reality . . . that was dramatic.