Electron - how to turn off when not using?

So far I’m inclined to unplug the battery of my Electron every time I finish a development session although it feels like a bad idea, especially for wear and tear. Is there a preferred way to “turn it off” when not using it?

Have you considered using this, which was specifically added for scenarios like these?

Thanks - I thought I read something like that but could not find it again. I’ll try it.