The company didn't even wait any longer to have you replaced.
Technically they didn't replace me. What I did was finish my work before I left for an unpaid vacation leave. I went back after a few weeks when borders were opened again.
COVID was unforgiving but I learned a lot from it!