Xiao bricked and not responding anymore

So I actually found a solution to my problem, which was that the bootloader mode worked but I could not upload sketches. What I did was install Circuit python then uninstall it… It worked.