This question already has an answer here:
I am an Indian citizen studying in US on F1 Visa. I have a 6-7 hour layover in Toronto International Airport on my flight from Chicago -> Tornoto -> Zurich -> Mumbai. I am wondering if it's possible for me to outside the airport and get some food and roam around a little bit before catching my flight? Is this allowed on a transit visa? Will there be any issue during Immigration check?