On my boat the microwave, stove, and battery charger all run off of shore power, and pretty much everything else off battery.
But why wouldn't the interior lights in the cabin also run off of shore power?
It seems odd that you'd have to switch to battery pwr while at the dock just to be able...