Changing filament during print

Ender 5 S1
Creality Slicer
Running through Sonic Pad

I want to change filament during a print

I have my object I want to print. I run it through the Creality slicer to determine where I want the filament change to happen. Once I have this I use the post production process to insert the command to change filament at that particular level. I run it through the slicer again. I take the file to my printer, select the file on my Sonic Pad and start the print. The printer will stop running at the specific layer and go the position I chose for X and Y. But then I get a print failure notice and the print will not restart, kind of like it terminates right there.

Any suggestions would be helpful.

Thank you,
Jeff