The masterof any passenger ship may refuse to receive on board thereof any person who by reason of drunkenness or otherwise is in such a state or misconduct himself in such manner as to cause annoyance or injury to passengers on board, and if any such person is on board, may put him on shore at any convenient place; and a person so refused admit...