Apply for an exemption to immigrate to Canada.
When a person has been refused asylum or is illegal in Canada, the law provides that they can ask an immigration officer to review their case, requesting a humanitarian exemption. Canadian authorities have wide discretion to accept a file from a person in Canada. In addition, the request for humanitarian considerations is an exceptional regime which means that your case must generally stand out in order for it to be accepted. The immigration officer will examine in particular your links to Canada, the risk of returning to your country of origin and will pay particular attention to the situation of the child directly affected by such a request.