PC is connected to Arduino Due by Native USB. Often after sketch uploading through Native USB, Arduino Due still keep in Bootloader mode and usb communication with PC doesn't work and sketch doesn't work.
After hardware reset of Arduino Due it become normal.
Do you know how to exit from Bootloader mode by program way? Send some command from PC?