My Haibike failed this morning with this problem ("Shutting Down" hang) , just as I was loading the bike up for an important ride.
The dealer recommended plugging the head unit into a usb charger for an hour to fix it. It didn't. I had to open up the unit, unsolder a battery wire, resolder it...