Bob, It would be a simple job to put a double pole double throw relay in the circuit with the coil energized with the shore power that would disconnect the inverter when connected to shore power. bill 25 ft Trade Wind.