I cannot help with using the GPIO for turn off/ turn on. However, a remote mechanical switch could be used at the XPWR pads shown in this picture, see blue arrow, labeled 9…
Forum member @tschultz used the XPWR pads and a relay for a remote power switch for his project, “Truck Dashboard”.