It's going to depend on what caused the loss.
Is it something that was out of your control, non-repeatable, and unforseeable. Or was it a mistake you made.
For me the mistakes I have made over the years are easier to bounce back from - because I know what caused the problem and I can insure that "that" mistake doesn't repeat itself.
But the unconceivable - Those are the ones for me that just make the losses so overwhelming. Cause I don't know how to stop it from happening again.
14 years ago my tank was running with a surge tank on a 2nd story balcony. The 'tank' was a 30g water storage container. All the plumbing was internal in the tank. And of top of it was a 3/4" acrylic lid. While at my sister's wedding a Rat knocked the 3/4" lid off the top of the tank, fell into the surge tank and got sucked into the 2" Carlson Surge pipe inlet. Stuffing the pipe. Being there were no mechanical parts to this surge system. It was all gravity and gravity never fails, I never expected a 2" pipe to get clogged. There was an independent pump hidden in the bottom of the tank under the aquascape that pumped the water up to the balcony. Well that pump kept chugging along and pumped all the water from the tank up onto the balcony.
I came home at 1:30 in the morning to a bad smell. The halide lights were on, the corals looked amazing, but the there was only a few inches of water sitting in a packed 400g reef. It took about 20 minutes to figure out what happened. I thought the tank had blew a seam - But there was no water on the ground anywhere.
I filled the tank with a garden hose mixing salt as I went. And everything looked amazing. And when the tank was finally full of salt water I turned all the pumps back on. Like it was a magic trick when the pumps turned on the tank burst into a cloud - as all the tissue just jumped off the coral skeletons. In seconds the beautiful rainbow reef turned into a white skeleton dead zone in a cloud of grey.
I spent a few days crying in front of the tank. And I decided I needed a break. So I shut off all the 'equipment' and lights, left the return pump, heater and top off on. And left the tank there.
I'm an fish addict, so I knew I would come back to it one day. But I wasn't in the mood to deal with it. I wasn't in the mood for 9 months. Then I got diagnosed with Kidney Cancer. I didn't want to deal with that without a beautiful fish tank to get lost in. So I turned the lights on. Pressured washed all the live rock, did a massive water change. And got back into reefing.
For me it's a little different than most because I am addicted to fish/water - Boating, Scuba, Aquariums, Tropical Vacations, Fish Themed Home are all what my life is about. I have no children, at the time of the rat incident I had no wife, and I have been fortunate to always be able to afford this hobby, at the extreme ends, without it affecting my lifestyle.
So for me there will always be a fish tank. Sometimes bringing joy, sometimes bringing frustration, and sometimes needing a short break.
Dave B