My 2c (im 40. Been IC dev for 10 years, CTO, VP, and now an 'aerchitect'):
[Your current company] doesn't matter. Your family matters 10000 times more. Dont expect to grow in your company. As a 30 year old there are TONS of companies and startups looking for you. In fact now that you dont need a job is a good time to comb the market and apply to a couple of them. That way you get some experience in the current hiring process, you tune your "value" as a professional and you can ask for crazy money (knowing that if you ask for 2X your current salary plus WFH, if a company gives it to you, you score, otherwise you are cool on your job).
My 30 to 40s were amazing professional years. I was in 3 startups and grew 2 of them from the ground up. That also helped me grow myself to where I'm now.
Yeah, but I need the money to support my family and there aren't many options in my region.
I did apply to one, but never heard back. It was about 2x salary. It even seemed interesting - Android dev for a medical device startup. I guess my Android skills weren't advanced enough (I just have a couple very simple apps).