When a mate or seaman is wrongfully discharged, or is driven to leave the ship by the cruelty of the master on the voyage, it is then ended with respect to him, and he may thereupon recover his full wages.

SOURCE: CC § 2057.