USB JTAG/serial debug unit (on macOS it may show as usbmodem…).Your settings and the images and sounds stored inside the box stay. The SD card is never touched.
When the board still runs its factory firmware (for example the Xiaozhi AI demo), erase it first. The first start then takes a little longer while the internal storage is prepared.
Re-plug the cable and start again. Nothing is lost: the box keeps working with whatever firmware installs completely, and you can always repeat the install. If it keeps failing, use download mode as described above.
The version is shown at the bottom of the mode menu (hold BOOT for one second) and on the start screen.