I came here looking for the same answer. I've had 3 separate occasions in the last week where Nextcloud would not shut down, no matter what. I couldn't take the array off line, couldn't turn docker off, and couldn't reboot or power down via CLI or GUI. I had to actually go to the server and hit reset.
Anyone else had this?