Disabling USB Supplying for an Arduino UNO

off if my power supply is off event if the usb cable is connected with a computer

oops i didnt notice that