I think you have connect pins and a processor port pin confused.
A processor port pin can be set to a low, high or input (on most microcontroller pins).
The three pins grouped together for a device (servo, sensor, etc) to plug into on the PCB is not a port.
You need to look at the schematic for the board you have to see have the pins on the connector are wired.
Now if you design and build your own PCB you could add a power off control feature.