IN a properly set up tow vehicle there is an isolator, either a diode type or a solenoid type.
The bottom line is... Should not be necessary to unplug.
Second:...... When plugged in to shore power
I would not care if the RV fed power back to the TOW vehicles battery, With a good 3-stage converter in the trailer (Assumes you have one) the WORST thing that would happen is come the morning when you go to move on.. Nice FULL tow vehicle battery cranks her right up.
IN FACT.. Though I live in a motor home not a trailer.. both MH and towed care are rigged so if I do not plan on driving the car till Sunday, and today is Monday, I can plug the two 12 volt systems in together and ... Keep the car charged (Connectors provide many services,, One of the two on the motor home recently powered the flag-pole light for the patriotic holiday).