The dropper cable situation on my XL m20 has been quite the PITA. The routing was not good from the factory install, and it was binding/pinched with the motor installation. I had to drop the motor to re-route it and tried to quiet it down a bit. Some of those efforts worked and my 210mm oneup dropper is now installed... but it's still jammed between the motor and frame. This was not at all an issue on my wife's medium m20, where her dropper cable is installed/routed in such a way that it does not bind and can move freely in either direction.
I'd say that the internal routing is one of two misses by Orbea on the rise. I'm going to be pulling my motor again, and also the battery to re-route the internal routing and fix the dropper pinching issue, as well as the cable rattling in the frame. Really, I wish brands would either use fully internally sleeved/ Tube-in-tube routing or utilize external routing. Honestly, internal routing for ebike frames are just really the best idea. that way, you'd only be dealing with the dropper cable as the only internally routed item on this frame.
Either way, I would caution people from just yanking the dropper cable out without dropping at least the motor. It could definitely work on say, my wife's Medium m20... but doing that on my XL m20, could potentially cause damage to the junction box wiring as it was sorta hap-hazardly bundled up within the frame. I've found that the tiny wiring for the junction box, has as much as 12" - 18" of extra length in there to allow you to pull the dropper cabling in/out without ripping it out of the connection. If you were to snag that with the end of the dropper cable and yank it out, you could do some damage in there.
I feel like if i were determined to remove the cable without dropping the motor, I would for sure, push it back up the seat tube with the post removed, cut the cable end off the metal dropper cable, and remove the housing end cap. that way I could be certain that there wasn't an enlarged outer diameter to the housing/cable that could snag on a connector or wire in there while yanking it out the head tube junction area of the frame. I would avoid being penny wise/pound foolish to save a 2-4 (pick your native currency here) shift cable.