From my experience, you are doing the best thing! I went through 2 months of isolation and really had to soul search to understand what it would be like from his perspective. This made me realize that I really couldn't overdo it when he ghosted. The first time I saw him after the ghosting, I realized that it really wasn't about me. He felt the same about me as he did before. He just couldn't focus on anything other that keeping his job and getting up in the morning.
Thank you for this @anon1234 makes me feel more positive about my situation.