Pretty sure that the switch you describe is the rcd for the electric hook up. Don’t think this has anything to do with the leisure battery.
However the rcd can be left in the on position permanently.
To check if it’s on connect the van to an electric hook up and try using an appliance such as a kettle. If it works then the switch is in the correct position.