I also am experiencing this issue with Cargo Ships installed in my current modpack. If the "enter/exit ship" keybind is set to the same keybind as "enter/exit vehicle", it will prevent me from exiting other vehicles. I could provide a full list of my mods if necessary. I haven't tested it with Cargo Ships alone.
My current workaround is to just bind "enter/exit ship" to something different (Control + "enter/exit vehicle" keybind).