You have been called for an interview with Canada Border Services Agency (CBSA). The officer advises you that you must leave Canada within a few weeks and asks you to return on a specific date with your purchased plane tickets.
If you wish to stay in Canada for various reasons (pending immigration applications, fear of a return to your home country, employment, family members in Canada, pregnancy, medical conditions, children in school etc), we can submit an application to the supervising officer called a Request for Deferral. This application will outline the reasons why you wish to remain in Canada temporarily. We need to carefully prepare this application and state good reasons with evidence to request your stay in Canada.
A deferral officer will make a decision on this request within about 10 days. Should the deferral be granted, you will be able to stay in Canada but only for a temporary period of time. Should it be refused, you will have 2 options: either return to your home country or file a Motion for a Stay at the Federal Court of Canada contesting the refusal of the Request for Deferral. At the Motion of a Stay hearing, a Federal Court judge will determine whether your removal from Canada should be temporarily canceled.
Here are some additional resources to help you address refusal to Canada