how to disconnect shift/park cables at button end

I ended up getting a straight screwdriver in behind the ferrule on the cable and pried out enough to open the "fingers" holding the cable. On the reverse, a pair of pliers bent those fingers back into place when I was done switching out the shift buttons.