Good Ideas from talented indivudals

Looking for a way to have two wires connected when no cap is present and open when the cap is present.

So, can you have the wires connect to terminals on either side of that plunger-thing at the "top", with the plunger under spring tension pushing it into place to keep the connection. Then a smaller radius pin in the cap can push down the plunger when the cap is place, breaking the connection.