When I was the XO of a large Naval Station, we got all kinds of broken people, physical and conduct as well as humanitarian, in stash mode. It usually started with the station JAG coming in and saying, "uh, XO, I got a call from the Legal Officer on USS SHIP/ABC Staff, and they need to..."
One of the most uncomfortable memories I have is a ship's CO who was stashed in my department, when I was N3 (Operations Officer) on a Navy Region staff. He had been relieved because he joked with a foreign ship's CO over open channels during a joint exercise that yes, US ships did have women aboard now, and would he like to buy one, plus other failures of leadership onboard his ship. I kept our conversations to professional topics only, but I could tell from things he said he didn't get it. He bothered my female QM1 (enlisted petty officer E-6 pay grade), and she finally came to talk to me about it, because he wanted to know about her boyfriend and other personal topics. Only time I ever closed a door and spoke forcefully to someone senior to me. Sorry - I didn't mean to stray from the Marine major, but oddly, this jogged a memory of a senior officer taking advantage of a junior and their reluctance to walk away due to being junior.
For any aghast parents, this was from the late 80's. It is much, much better now, but with pockets of idiocy here and there, witness this Marine officer story.