The US and Canada share land border data. If you cross the US land border, the Canadians will know you left. You will be perfectly fine showing an air ticket departing the US for the UK within a few weeks of your arrival in Canada, if required (which is unlikely).