If your wireless router lets you do a WPS setup (basically just a way to quickly pair up devices), this might work.
If not, there is probably a way to use your printer drivers with your printer USB connected to your PC to manually set the wifi settings, but usually the canon printers also let you set up wifi a little easier with an app on your phone, like this guide
Once the printer is connected, on the laptop, if your printer is still there in your printer list, might be easiest to delete it and try to find it again. Likely the printer has a new IP, and it's possible your laptop doesn't like that is changed. Discover the printer again from scratch.
Side note on printers since I've been especially annoyed lately by one. Don't bother with stupid ink tank ones. I spent extra on a Canon G3200, and found out they put a counter on them for how much it'll print before doing into a error code mode. It's some crap about this ink absorbing pad in it getting full and needing maintenance. They want like $150 for me to ship it to Calgary to do the work on it. Tried to absorb up the ink myself and all kinds of things, hacks to reset the counter, but the thing is just a disaster inside now with ink all over the place. This crap was not made to reliably ever do anything close to the thousands of pages they claim these huge vats of ink can do without needing to buy cartridges. They are made to be a money pit a different way, needing endless maintenance. Total bullcrap scam, although maybe people have had luck with other brands of ink tank printers. Not trying another one though. back to cartridges.