Extra (diode?) protection for H-bridge to prevent damage - how?
I’ve had some experience of H-bridges that were destroyed by the back-EMF when the battery was disconnected: the classical reverse diode could not help since the current could not flow back to the (disconnected) battery. I’ve started adding some TVS diodes in parallel with the motor, and since then I haven’t had an H-bridge destroyed that way. Something like a SM15T27CA should be fine.