Paul, I’m no expert, but your symptoms could sound to me like an intermittent electrical failure somewhere although I guess there could be other explanations. Personally, I would not be happy unless I had conclusively tracked it down because I’d be worried about having another episode, however it’s up to you.
If it did happen again, try switching off one ECU lane and see if it goes away. The ECUs are connected to different sensors and if you could isolate the problem to one lane that might help to track this issue down.
...or maybe your disassembly / reassembly dislodged some piece of rubbish that was blocking something and it will never happen again. I have this image in my head of a cat coughing up a fur ball:)