operation of reed switch problem

i am not putting the reed switch to a pin, i just want to power my board on and off. so far hitting it is the best way to turn it off lol