How to handle a circuit switched by ground

Sorry can't follow the words on what you did, do you have a schematic?