The law says
IRPA s. 4747 A foreign national loses temporary resident status
- (a)at the end of the period for which they are authorized to remain in Canada;
- (b)on a determination by an officer or the Immigration Division that they have failed to comply with any other requirement of this Act; or
- (c)on cancellation of their temporary resident permit, other than cancellation by an order made under subsection 87.302(1).
Justice Laws is the authoritative version. If this copy and it ever differ, Justice Laws wins.