Maguire Act of 1895 Wikipedia
The Maguire Act of 1895 (28 Stat. 667, enacted February 18, 1895) is a United States Federal statute that abolished the practice of imprisoning sailors who deserted from coastwise vessels. The act was sponsored by representative James G. Maguire of San Francisco, California.
Before this legislation, a right to leave the ship existed only for a seaman who "correctly" believed his life to be in danger. This law extended the right in cases where the seaman feared physical abuse from other shipboard personnel.