Before I took my new Mistral into my local repair shop for fitting of Marathon Plus tyres I undid the cable ties along the chain stay, cut the cable and inserted a male/female connector. The shop then had no trouble in removing the wheel completely. I might have done this myself but the nuts were very tight.
Afterwards, I tidied up the cable and connector with new cable ties and electrical tape.
In my experience, essential accessories for the electrically assisted pedal cyclist are a good supply of cable ties, easily obtainable cheaply on eBay, some heatshrink tubing, and electrical tape.