See Guide "Applying to Change Conditions or Extend Your Stay in Canada"
*** May I leave, then re-enter Canada?
In order to return to Canada, you must be in possession of a valid passport or travel document. You also need to hold a valid study or work permit if you are returning to study or work in Canada.
If you are a citizen of a country that requires a temporary resident visa (TRV) to travel to Canada, you will also need to be in possession of a valid entry visa to return, unless:
you are returning to Canada following a visit only to the United States or St-Pierre and Miquelon; and
you return before the expiry of the period initially authorized for your entry or any extension to it, either as a visitor, student or worker.