Ardupilot software can't reconnect automatically

Good afternoon,

I’m trying to setup the Pixhawk 5x in the ArduPilot, which in future should be incorporated into the VTOL plane.
I think the issue that I’m having is the fact that once I have done the compass calibration, the software asks me to “Reboot”, and once I press the “OK”, I get an error as the board doesn’t reconnect automatically.
I have to press the “Connect” button in order for the board to connect, and all the compass calibration is lost in the effect.
I was wondering if anyone knows, to make the reconnecting within the AutoPilot automatic, so I can pass the stage of compass calibration.

Best
Damian

Calibration done:


Disconnected: