once u leave the Canada with expired temporary resident visa which is stamped on ur passport ,u will not be allowed to re enter Canada,so,do remember to apply for it first before you arrive here,otherwise,it can create problem for u at the airport.Even there should be written on ur study permit...