If another audio application has taken over hw:0, so that jackd cannot start, you can fix this by restarting alsa:
sudo /sbin/alsa force-reload