Yup. Stick with 40a. The assumption is you've had no problems with that breaker tripping so there's no reason to upsize. Besides, as pointed out, you'd have to first check the the circuit and compare that to a chart for amperage vs wire size vs wire run.
Breakers/fuses on a boat, like in a...