Hope this helps someone else in the future. I put back the battery on the phone and after a few reboots more it was back on KitKat. Then the phone restarted and the perennial 'Download mode' was gone! The Android with a charging bar below appeared.
Then it said there was an error and give me the option to retry.
Click to expand.error, which I ignored, so the flashing process went on background.