In theory, the forum tries gracefully kick out “just electronics design questions, not-specifically-KiCAD” after a short but decent interval (so in my previous reply to you, I admit I was intruding a bit on the forum’s goodwill policy
However I think you made a subtle error (KiCAD-specific!) in your original schematic, so I think that this reply is legitimately ON TOPIC…
Here is a snip of your original schematic. I have hit the “backtick” key (`) to highlight this net; According to KiCAD, everything in magenta is connected together:
The top “9V” item I have circled in blue is a “net label” (aka a “local label”), which assigns the net name “9V” to that wire, which among other places goes to J1 pin-2
The lower “9V” item I have circled is a “global label”. It happens to have the same name “9V”, and therefore assigns that exact same net name to among other places J1 pin-3.
KiCAD has a rule (I think) that a global label named “x” is the same net as any local label named “x”. I think this caught you here.
In your schematic, you DO NOT show pins 2 and 3 connected together by wires… because I believe that your design intention was that they NOT be connected. HOWEVER, because you have assigned the “9V” net name to the wires connected to J1 pin 2, and you have also assigned “9V” to J1 pin 3, you have told KiCAD “these are the same net; join them”
This connecting of pin-2 and pin-3 is also reflected on your PCB (when you were laying out the PCB it probably didn’t twig):
In your most recent reply you have a slightly different schematic; I believe this is correct and will work as you intend. The important thing to notice is that there is no “9V” label on the positive terminal of BT2 nor the wire going to pin-3 of the jack… therefore KiCAD knows that pin 2 is distinct from and not connected to pin 3:
One more comment, I think this will not work as you expect it to:
When a plug is inserted into J2, it will not cause the “R” terminal to be electrically connected to the “S” terminal.