If you hold a valid Canadian tourist visa issued while you were a UAE resident, and your UAE residence visa is cancelled around the time of travel, this generally does not affect your Canadian visa's validity.
What group members clarified:
- Canada's immigration authorities focus on your status in Canada, not your status in the country you departed from. As long as you leave Canada before your Canadian tourist visa expires, your UAE residency status change is not Canada's concern.
- Any UAE re-entry issue is your own responsibility to manage separately — if your UAE residence is cancelled, that's a matter between you and UAE immigration, and you'd need a valid visit visa or other arrangement to re-enter the UAE, independent of your Canada trip.
- Having a return ticket (even if it's back to UAE on a new visit visa, or elsewhere) supports demonstrating intent to leave Canada on time, which is generally good practice for any visitor visa holder.
In short: your Canadian tourist visa validity is not tied to your UAE residency — treat the two as separate immigration matters.