Power supply self control using transistor

So you are saying that I can use S instead of the push button in my circuit and R instead of the transistor base. Is that it? If this is the case it indeed will be useful. I will have to turn the arduino pin connected to R high to turn off the arduino. By the way how do I make this RS latch or whatever. :smiley: