OP said he only wanted to 'make it safe in the meantime'.
In the switch put L&N into the earth connector if they will reach (or, if not, into one connector block - or two if too big); leave earth connected .
The junction was a simple straightforward solution tbf, wire it in, tuck it under a kitchen unit and when I bring my new cooker in, I can simply disconnect the box and connect the cooker up to the same cable.