Press 1,3,4,5,6,7,9, to switch cameras. If the rectangle is not there any more click 9 to close the jail cell.
You have to keep the prisoners inside there cells, you can not lose yet. Or win.