Route all connecting cables through a switch controlled by the spring being pressed in fully, the spring being at the end of the tip.
That sounds complicated when you could use a different connector.
That sounds complicated when you could use a different connector.