When life throws a lot of crap at you all at once, I think the best thing you can do is prioritize.
It is unrealistic to expect that you can "deal with it all".
Instead, deal with the most important issue first.
In my mind, that means you temporarily put all your personal crap on hold. As an NCO, it is up to you to get your guys and yourself home in one piece, while still accomplishing your mission to the best of your ability. That is enough to occupy your mind. Totally immerse yourself in that task.
Once this deployment is over, prioritize again. What is number one AFTER that? Girlfriend situation? Fine. Deal with it. Accomplish the goal. Move the chains to the next priority.