The switch and pot could be replaced with a waterproof one if you need to. Mouser, digikey, etc., carry those. Or you can seal up the back of the switch and just get a silicone cap cover for it that's secured by whatever panel you mount it to. If you don't use the switch you can just wire straight in for whatever function/setting it would engage.
Waterproofing the pot would be harder; easier to install it into a waterproof box with a shaft seal, or replacing it with waterproof pot.
THe connector, if always unused, you could simply fill with a waterproofing compound that seals it off. If you use dielectric grease you could then just put a cap over it that keeps the grease in.
There are plenty of insulating caps out there for various sizes of bolt heads. If not on mouser/digikey, probably on mcmaster-carr and similar places.
most of these things can also be had from the usual ebay, ali* amazon etc but harder to be sure that what you're buying is what you're getting or that you even picked the right one in the first place.
What does the motor look like? Mightve missed it but didn't see it in any of hte images/etc.