So, I've been having the same issue lately, I had a battery that was busy dying, then one day on the water, when I tried to trim it, the motor died. Battery was completely dead, had to start the motor with the rope, so I suspected it must be the trim pulling too much power. After I replaced the battery, the engine fired right up, the trim still caused the motor to die a few times, but got better every time I pressed the button, to the point where it ran fine while trimming. The next day though, the engine would not start, no spark, I suspect the CDI is dead from the tests I did and am waiting for parts from the states. I don't know if this is just coincidence that the CDI dies when this trim issue happened or if it is linked.