@Mai Rose
I had the exact same situation, here is what I have done.
First of all, you should retain very well that life is not fair in those circumstances. I am a doctor and I worked in Brussels and my credentials were from Canada. I was in a permanent job offer and they terminated it because my English is bad !!!! can you believe it! Canada's first language is English and I lived and studied in English. They just give you any reason to terminate your contract, it is not because you are bad, maybe the company where you worked at is in a financial deficit and they had to terminate few people.
Don't overthink it, that's life, you have to go on so quickly and close this chapter of your life, your next offer will be much better.
My A card supposed to expire in May 2025, I have been terminated from the job November 2023. I did not know what to do or what is the role. I took it easy thinking that as long as the card will expire in May 2025 then I am ok and have enough time to search for a job. I explained to a friend what happened and she told me that they might expel you from the country if you did not find a job even if your card says the expiry date in May 2025. She told me the very first step is to go to a lawyer. I don't know which city you are living in but in Brussels there is this organization which consists of lawyers who helped people for free: [link under review] of course they should verify how much income you get right now and they will ask for few documents before even seeing you ...etc I went there multiple times. during that time I received a letter about "retrieving your work permit" in early June 2024. I understand from the lawyer that after this letter, you will get another one from ministry of foreign affair within a month or two to ask you to leave the country and you have 90 days to leave. That made me panicked because I thought I have until May 2025.
Of course I made an intense search and asked all friends and people around me. Thankfully I found a temporary job for one year which is more than enough to get my things in order. And just last week received a renewed ID card valid until September 2025.
I have no idea what is card L and did not do any application with this regard.
things I don't advise:
at this moment don't get any info from the commune, I never did, one of the lawyers advised me to not go until he told me so. He warned me that they might take your ID card then you stuck, I don't know but he was afraid to do so during this time.
I was travelling in-out Belgium, until I received the letter to retrieve my residency status, then I stayed in Belgium (June to September 2024) until I got the job, I was working tirelessly to get it. I also send emails to Brussels economic that I got the job, so they will not send any letter to ministry of florigen affair to ask me to quit the country.
Why I still stay in Belgium and not returning back to Canada. well it is because I got married and I need some time to arrange my return. but my ultimate plan is absolutely to return back to Canada.
Hope this help you, good luck, be strong.