Just ensuring they aren't loaded is enough. Unload all the mods, or ensure they're never loaded in the first place (not sure which way it works in Civ 6). Restart the game if you have to do the former, just to be sure. If the latter, restarting is unnecessary (and infinitely loopy (as in, an infinite loop you will never escape)).