Unless things changed recently I clearly remember that in Canadian airports (unlike a lot of other countries) Canada doesn't have a border check point to check people leaving the country. They only check you if you enter. If you have a secondary passport I can guarantee you that you can leave and come back without them knowing. Even better idea is that you go to the second passport country and change your name (as I have done). Now you are completely in a different system.
To be honest I am quite positive that you can enter and exit Canada on the same passport without other government agencies knowing. Canada is such a bureaucratic shithole where different government agencies have no idea what the other is doing. They are slowly changing this but its at a fucking snails pace that in 20 years shit will probably still not really have changed.
I have gone to different government agencies where they have no idea that I had a name change. Also during covid I came and left three times (kek) without doing the cuckrantine. One time I clearly violated their quarantine rules by entering and leaving the same Canadian airport in 48 hours and nobody knew shit.
To summarize. If you want to be safe about it, get a second passport. If you want to be ballsy like me, just leave and dont tell anyone. Canada is a country that relies on fear to control the populace. They scare you by threatening harsh consequences if they find out you broke the rules. However the chance of them finding out is slim.
Now that I gave you this advice. Tell me how I can scam the Canadian system to get disability cheques. I already scammed them by claiming to be low income while working abroad and by claiming CERB cheques that I dont deserve. Or are you legit disabled?