Sounds like the cable is corroded up. See if you can get some WD40 in there. It is a superb cable lube. Often the cable ends are sealed on a boat, so you may have to cut the seal off to get the lube in there.
If the WD40 idea works, you must lube regularly if you have cut the seal off.
Better that than junking the cable.