I have the same problem on Ubuntu 24.04.
Installed NoMachine, connected a Macbook via NoMachine to my Linux Laptop.
Audio was piped to Macbook.
After disconnecting to Macbook, no sound on Linux. I read through many forum posts and nothing worked.
Can you please show us what NoMachine does to pipewire on Linux so that I can manually revert whatever NoMachine did to corrupt my audio?