If your sound card dies when unplugging your headphones and need to restart PipeWire/WirePlumber to reuse your headphones, you need to disable the sound card's power management.
To disable power_save
permanently run
sudo tee /etc/modprobe.d/snd-hda-intel.conf <<< "options snd_hda_intel power_save=0"
Reboot to apply.