Telling me not to use my computer is not an answer, it’s a rude comment. Just because I am comfortable with the command line doesn’t mean I never run into an issue that I have difficulty troubleshooting. I was hoping there might be people in these forums who have experienced quirks with iCloud before who might be able to shed light on the issue.
I have done more experimentation since yesterday and decided to put it in a new thread since I accidentally marked the other thread as “solved” and there doesn’t seem to be a way to undo that.
When I moved or renamed the file, it stayed put as long as it remained in the iCloud folder. This suggests that it is not a folder being used by a program.
The only time it didn’t come back was when I turned off my internet access, which is why I think iCloud Drive is restoring the file. For some reason it doesn’t register that I am trying to delete the file, and always redownloads it.