Motor problem remap pins

Good day.
A have APM_v252_v5.0
It seems I short circuit M4 pin. Other motors work good. How can I remap M4 to other free pins?