Well, it’s taken almost three weeks but I finally have my bike back. After messing around with the electronics for a while and finding nothing wrong, the mechanics simply opened up the gearbox and manually put it back into neutral. Having reassembled it and taken it for a test ride everything seemed fine so they pronounced it sorted. Let’s just hope they’re right.