After sleeping on your suggestion, I believe you are intimating that the cause of the Camera_HTTP_Server code freezing when the USB-C cable is disconnected with the battery installed is a result of the Seeed ESP32S3 sense waiting for the serial port. So, to overcome this, the ‘serial’ instruction can be commented out, and recompiled, uploads, and run.
I would test this, but now I’m getting this error when I attempt to launch Arduino IDE:
No protocol specified
Picked up JAVA_TOOL_OPTIONS:
No protocol specified
java.awt.AWTError: Can’t connect to X11 window server using ‘:0.0’ as the value of the DISPLAY variable.
Thank you for your help.