Take the organ pedal off - just the pivot bolt - you'll need an allen key and spanner.
Then you can access the pedal proper. It's possible to get the cable off without removing the pedal, but you'll get back ache.
As Ken has said, the crucial point is to align the top of the pedal with the hole, so you may have to get the pedal off to bend it. If the cable isn't aligned perfectly with the hole it will fray. The other end is a piece of cake.
Also remember that frayed throttle cables can jam unexpectedly, so bear that in mind.