In the era your asking about, men at sea didn't drink water, they were given a ration of beer and grog per day. Fresh water that isn't kept air tight doesn't remain potable for very long. I read somewhere that sailors on the Mary Rose, which was from the Tudor period in England, were rationed a gallon of beer per man a day. If the beer was brewed well it would remain good for about a year. They also didn't waste fresh water on bathing, having the commom knowledge of the time that bathing was bad for your health. They would never have used salt water at any time on their guns. Sponging after firing and the cleaning of the bore would all be done with fresh water that they had in storage on the ship. After the bore was dried they would swab it with tallow to preserve it. When not in use the guns would be sealed at the muzzle with a tampion and a lead or leather cover attached to straps would be placed over the vent to prevent any sea mist from getting inside the bore.