dismasted and shorn of all rigging , these sad remains of once proud fighting ships had been decommissioned and refitted as prisons to hold the overflow of england 's jails-some convicts awaiting transportation to the penal colonies while others were serving out their whole sentences aboard these stinking , rotting derelicts .