904 Shift cable removal

I need to remove the shift cable to re-sheath it and re-route it because previous owner had it where it was binding the throttle linkage. And it cut into the rubber causing a leak.

I was wondering if this end is threaded into the case or do I just pull it out? Thanks!

20221015_102830.jpg