I have noticed some similar traits with my “self powered” dev system here (I don’t use 5V input? on Pin 14).
When running on battery, the USB (Serial/JTAG) interface doesn’t automatically “recover” when USB is reattached.
I’m trying to determine the cause of the issue.