I've not taken one off yet, and would guess that it is a quick-release arrangement of some kind.
I'd have thought that the end pulls back towards to rear to release it from the pedal, then there is probably a slot in the pedal to allow the cable out.
Peter