isdiction of the United States or the territories thereof; and if any person shall, contrary to the provisions of this act, have any intercourse with such ship or vessel, or shall afford any aid to such ship or vessel, either in repairing the said vessel or in furnishing her, her officers and crew with supplies of any kind or in any manner whatever, or if any pilot or other person shall assist in