How can I program Xiao with Arduino IDE?

Hello,
I have circuitpython running on my xiao but how can I run Arduino codes again. I want to flash Arduino back to Xiao but cant find any documentation. A uf2 file would be the best.
Thanks in advance