I have a buffer (shell) with useful history, but by mistake I have now saved the buffer, creating a "shell" file in the directory, which confuses other tooling.
Deleting the file is easy, but of course emacs recreates #shell# for me. How can I remove the association from buffer to the file, turning it back into a file-less shell buffer?
I've found searching for this leads only suggestions to kill the buffer (sure, but there has to be a better way) or very basic how-to for file and buffer deletion.