3. He is bound to perform the services for which he has engaged himself; and for a violation of his engagement he may be sued, but he is not liable to corporal correction. An exception to this rule may be mentioned; on the ground of necessity, a sailor may be punished by reasonable correction, when it is necessary for the safety of the vessel, and to maintain discipline. 1 Bouv. Inst. n. 1001: 2 Id. n. 2296.