Arduino IDE cant upload sketch because can't find the Seeeduino XIAO on the PORT

sounds like bootloader may have bricked

if so you can look at this post and others on the forum
i was able to unbrick using this procedure and maybe another its been a while ago
i used two XIAO expansion boards to make the connection and reset bootloader without using a raspberry pi…

hope this helps