Arduino Self Shutdown

With this small project I would like to demonstrate how you can do the Arduino (or other mcu) turn off itself via software. I am not refering about a “Deep Sleep Mode” of the mcu, but cutting off the circuit power totally. Thinking of applications, we can imagine for example, a process of “Time Out” where when detecting inactivity on the device, it turns off completely. Or a button that once pressed, turns on the circuit, and turns itself off as soon as a task is completed. “

Link