I’m very sorry to hear the difficulties you’ve experienced and your decision.
I won’t try hard, but I will try.
If you enjoy technology, please don’t leave. If a company doesn’t work out, it’s best to part with them, even if it was their decision.
But if you don’t like technology, by all means move on.
Of course, this is all easier said than done, and I haven’t walked a mile in your shoes. I wish you the best.
Best wishes and good luck,