Any pilot bringing to the Lazaretto a ship or vessel infected with any pestilential or contagious disease, may be permitted to go and remain on shore within the bounds of the Lazaretto during the time the ship or vessel brought thither shall be detained under quarantine.
55 P.S. § 244