I should preface this by saying the issue of confinement and suicide watch is a pretty relevant one for me personally, as I handle a lot of it in my line of work. From the information you've presented, I would assume the following:
1) The officer's behavior sounds normal for a real-life job, but somewhat problematic for a vidya gaem with after-death options available. I don't know if they were simply playing up the "overly professional redshirt" role a bit much or were just trying to fuck with you, but if I was in that position I'd have gotten your+Command's permission for an execution and offed ya. You're a Syndie who's locked up, all your toys taken away, and your antagging is effectively over and done. For the sake of good sportsmanship, it'd be nice to carry out a formal execution and send you off to dchat if you're asking for it.
2) In the future, if you're effectively stuck like that, you can always pray or ahelp asking to get smited. We usually aren't too restrained when someone literally asks to get blown up, so it's another way out of a jam like that.
3) I don't think you should hold yourself at fault for playing a game while in a bad state of mind. Yes, you were more of a shit than you would've been otherwise, but at the end of the day this is just a game, and it's meant to be played to relax. Yes, you were a shitbird to Sec, but speaking as a longtime redshirt myself, that's situation normal for anyone taking up the stunbaton. I /am/ quite impressed, however, with your willingness to admit fault and move forward, and I hope you cultivate that self-introspection for the future. The ability to take an honest, critical look at yourself without descending into self-flagellation is a very important skill.
I'm impressed you were willing to give a public apology, and I think it'd be best in situations like these to forgive and forget. The Officer could've been more understanding of your position, and you of his, but mistakes happen anywhere and it's important to not get held up too much on them. It sounds like you learned something useful about yourself as a result of this round, so I'd chalk that up in the "win" column and move forward thinking of it as a constructive experience rather than a personal failure.