Your H1-B may/ may not be valid.
Did you exit your company after moving to Canada? If your company withdrew their sponsorship before your visa became active on Oct 1st, 2022, it would make your visa invalid and you will not be cap exempt anymore. Any other company who accepts to sponsor you...