Adventures of the Queen (1975)
A madman hijacks the luxury cruise liner, S S Queen, and threatens to blow it up unless a millionaire pays him the the contents of a safe deposit box The crew regains control of the ship, but the hijacker dies, taking the codes