What OS are you on?
Can you not rename it by navigating to the folder and renaming it in your OS?
Can you show a screenshot or screen recording of what you mean by “it appears that it is deleting thousands of items”? Or a screenshot of what the folder looks like in your system’s file explorer?
Also what does “infinite path” mean?
EDIT: I just tested this on MacOS. I can navigate to the folder (in my OS, not in Obsidian), and rename the folder just fine. But I don’t know how that ... name would behave in Windows. If that’s your OS, chances are that it’s hiding the folder from you, (dot at the beginning of the means hidden) and you’ll have to configure Windows Explorer to show hidden dot files.