The master of the ship is responsible for preparing the entire vessel for arrival and departure. They will relay orders to all crew members for getting ready to depart and arrive. Before leaving the dock, they must follow and document procedures to ensure compliance with seafaring regulations.