I have an I/O that get's triggered from a transistor switch (water sensor) when the motor was stopping that I/O was triggering although no water detected, however I have rewired the ground from the motor directly to the battery as you suggested and more testing will confirm but it appears to behave much better.
4pyros
Thanks for the link, I don't really want to mess on the motor's side as it is a sealed bilge pump.
If I was to add a decoupling cap would a 0.1u be best placed in parallel next to D1?
Edit: and maybe another one at the Arduino supply?