Arduino IDE Upload Sketch - SAM-BA Operation Fails

Did the serial port of XIAO disappear after uploading? Is it easy to post the code?