372 § 5946. Precedence accorded commanding officers The commanding officer of a vessel or of a naval station takes precedence over all officers under his command. § 5947. Requirement of exemplary conduct All commanding officers and others in authority in the naval service are required to show in themselves a good example of virtue, honor, patriotism, and subordination; to be vigilant in inspecting the conduct of all persons who are placed under their command; to guard against and suppress all dissolute and immoral practices, and to correct, according to the laws and regulations of the Navy, all persons who are guilty of them; and to take all necessary and proper measures, under the laws, regulations, and customs of the naval service, to promote and safeguard the morale, the physical well-being, and the general welfare of the officers and enlisted persons under their command or charge. § 5948. Consular p o w e r s: senior officer present afloat I n any foreign port where there is no resident consul of the United States, or on the high seas, the senior officer present afloat has the powers of a consul in relation to mariners of the United States. § 5949. Policy a s to leave and liberty The commanding officer of a vessel shall favor the faithful and obedient in granting leave and liberty. § 5950. Exemption from Supply Corps duties The commanding officer of a vessel may not be required to perform the duties of an officer in the Supply Corps. § 5951. Continuation of authority after loss of vessel or a i r c r a f t If the crew of any naval vessel or naval aircraft are separated from their vessel or aircraft because of its wreck, loss, or destruction, all the command and authority ^iven to the officers of the vessel or aircraft remain in full force until the crew are discharged or reassigned. §5952.
Marine Corps organizations on vessels: authority of officers When an organization of the Marine Corps is embarked in any vessel, not as part of the authorized complement of the vessel, the authority of the officers of that organization is the same as though the organization were serving at a naval station. However, this section does not impair the paramount authority of the commanding officer of a vessel over the vessel and all persons embarked in it.
§ 5953. Executive officer: a s s i g n m e n t; authority (a) The Secretary of the Navy may detail a line officer of the Navy as executive officer of a vessel or a naval station. When practicable, the officer so detailed shall be one who is next in rank to the commanding officer. (b) While executing the orders of the commanding officer, the executive officer takes precedence over all officers attached or assigned