Surprised anyone touched your motor as the Shimano is well known to brick so many service centres such as PLB won’t touch it…apart from Alex of course. Glad you’ve had a better time than others including myself.
imho all Ebike motors used in wet, muddy, sandy conditions will eventually go wrong...