Hi,
Put a switch in the DC out lead, switch your DC OFF first.
Or use a multi pole switch to turn your mains off, use one of the extra poles to operate a relay and use its NO contacts to switch the DC OFF when you switch the mains OFF.
Just a thought.
Tom.... ![]()