Once you leave Canada your visitor record is cancelled and you get a new status if you are re-admitted. Depending on what the CBSA officer says, you are generally re-admitted for six months.
You are welcome to leave Canada if you have a visitor record, but leaving the country invalidates it.