How long can a Canadian citizen leave Canada for?

You can leave for ever how long you want and they can't take your citizenship, but if you leave for more than 6 months you lose you're medicare once you return it takes 9 months to get your medicare back.