A prison ship, is a current or former seagoing vessel that has been modified to become a place of substantive detention for convicts, prisoners of war or civilian internees. Some prison ships were hulked. From Wikipedia
Closure of the floating detention facility marks the end of a controversial practice criticized for its inhumane conditions, as prisoners are reallocated to Rikers Island and authorities remain unclear on the ship's future use.