I'm testing out some bash scripts and timers that control playback by sending mpc commands (mpc play, mpc pause, mpc toggle and so on). But sometimes this trips up MPD and all mpc commands return "connection refused".
When troubleshooting this it would be useful to have some command to stop + restart MPD without rebooting the device. Is there any such command?