Also turn off the breaker to the shore power charger.
What type of batteries? For house use, pairs of 6V golf cart batteries wired in series give you the best bang for the buck.
But if you have to have 12V house batteries buy a good brand of AGM batteries. Most other 12V flooded cell batteries are not true deep cycle no matter what the label says.
David