in that situation, if you did a full nand backup before doign anything hack (rawnand+ boot0+1) then restore it
then if you want to hack it correctly and minimizing the risk of ban at the lowest level follow this guide
https://nh-server.github.io/switch-guide/
it will make you setup an emunand (a copy of the system nand on your sd card)
the idea will be to have your sysnand clean and untouched that will be able to be online, and the emunand, that will be kept offline (or have incognito used to blank ID infos, and use 90dns) where you will do the hackery
so once the nand backup is restored, be sure to have removed wifi configuration and be in airplane mode in sysnand before doing anything so the emunand never connect online at any point (i would also advise to set light/dark mode on the emunand to be different than sysnand to know easily where you are)