• I think I'm going to answer my own question...

    Pin A9 of the on-board STM32 microcontroller is always connected to the fused USB 5V voltage reference.
    The digitalWrite function essentially connects the USB voltage pin to GND, thus creating a short circuit on the USB port. This means there is no longer power going to the board AT ALL. It has been "disconnected".

    bows

About

Avatar for user66772 @user66772 started