The bird being locked in the cage was feeling troubled and weak. It refused to sing, it stopped eating and then it lay in the cage as if it were dead.
The message is, freedom is cherished by all creatures. Nature has a good effect on one's physical and mental growth.