Automatically Change Open to Short
Before there were microprocessors, there was...hardware.

For low-voltage, audio, etc., this is what you want.  As it closes a circuit when you pull the plug, you can even wire in an impedance-correct resistor, if that's what you really wanted.
[photo credit &quot;Ianf&quot;, found on en.wikipedia.org]