How do I turn off as in cut off power to Server 1 (plugged in pin1 of PivotPi)?

My server is very hot.
I need to turn it off via Python after I run it.
Sleep() doesn’t cut it.
How do I turn off as in cut off power to Server 1 (plugged in pin1 of PivotPi)?
Thank you

I may be wrong but I don’t think the PivotPi has that capability. However you could attach transistors to the battery and shut that off. Or attach a transistor to each servo. That way you could shutoff power on demand.