In the event your default US time is going to run out while you're in Canada, and you would like to return to the US immediate from Canada, you must make an application for a US visa with an extended period of time (eg B-1/B-2, or possibly a C-1 transit https://canada84938.thelateblog.com/38446727/detailed-notes-on-canada-breaking-news