I feel it’s a personal choice though IMO, take a less stressful job and move to your hometown or tier 2 city as you mentioned no real estate and start investing your corpus with diversification i.e. part of it in SIP(Index funds) , part of it in FD.
Also, you have option to ask for alimony ; which again is personal choice however as per your description it’s your right to get your money back and contributions to the child future. This could be done in parallel to a less stressful job. File a case in your city/hometown. I understand this could be little tiring but right thing to do.
May peace, prosperity and happiness with you! ☮️😇