No sound after removing Audacity

iMac, Mojave 10.14.6, Audacity 2.3.2.

After I removed Audacity from my iMac, the sound no longer works.
System sounds DO work (beeps, startup etc.), any other sounds do not ( music files etc.)
Removal method used : Dragged icon from Launchpad to Trash,
Removed any orphan Audacity files using Commander One.

I had to re-install Audacity which fixed the sound, but I would rather removed Audacity.

Anyone have any ideas how to remove Audacity and still have the sound working ?
Thanks

My guess would be that when you “Removed any orphan Audacity files using Commander One”, you also trashed something else. I can’t see any reason why installing or installing Audacity should make any difference to the computer’s sound system.