jail-bird (n.)

also jailbird, 1610s, based on an image of a caged bird; from jail (n.), which in its Middle English, French, and Latin ancestry also meant "cage" + bird (n.1).