If the default US time will run out if you are in Canada, and you should return towards the US immediate from Canada, you have to apply for a US visa with an extended period of time (eg B-1/B-2, or a C-1 transit visa) before your first vacation with the US. For example, should you will remain in Canada for six months, and you simply transit with th