You can only sell ships that are currently anchored at the Dock.
Ships that have set sail can be sold after they returned.
See if you have ships that are in trade or battle/collecting!