From memory, mark the positions of the adjuster nuts on the barrel next to the throttle body, loosen them, pull up slack in the cable to allow you to rotate the stopper piece at the very end of the cable then slide it sideways out of the quarter-circle guide.
Assembly is reverse of removal. The Haynes book of lies fires through it if you or anyone else had it handy.