This Canada Revenue Agency (CRA) explains Capital gains deferral for investment in small business: https://www.canada.ca/en/revenue-agency/services/tax/individuals/topics/about-your-tax-return/tax-return/completing-a-tax-return/personal-income/line-12700-capital-gains/capital-losses-deductions/capital-gains-deferral-investment-small-business.html