Sometimes your time is just up. But you can make a Privacy request for the officer's notes on your file and if the reason for the refusal is something you can fix then you can apply for restoration of your temporary status. If the officer's notes say something like 'I don't believe he ever plans to leave Canada' or words to that effect, then the time has come to leave Canada and come back again another time.