Assuming they behave at all like STI road levers, you must click the "release" function repeatedly while keeping a bit of tension on the cable until the shifter is in the most "relaxed" position (smallest ring position for the front shifter and smallest cog position for the rear shifter). Then the cable end should be visible at the entry hole. Remove it by pushing the cable back out through the hole.