OpenMv-H7 revert to default setting

Hello, i encounter some technical problem to OpenMV Cam H7 device. It appears that the camera has undergone a reset and reverted to its default settings.
I have verified the power supply to the board, and it is functioning properly. The program is stored within the camera itself and does not rely on a Micro SD card.

So, is the main.py onboard still with your application code is it reset back to the default?

Yes. After taking some pictures, I realized that the “main.py” file and other files onboard have gone missing.