✅ This only removes the shortcut, the original program or file.
Whether you are on Windows or macOS, getting rid of a few stray icons is straightforward. On Windows (10 & 11) removing shortcuts from desktop