Answer
Yes, a ransom was demanded for the release of Gilad Shalit. Shalit was captured by Hamas during the Israel-Gaza conflict in 2006. Hamas initially demanded the release of all Palestinian prisoners held in Israeli jails in exchange for Shalit's release. However, after years of negotiations, a deal was finally reached in which Israel agreed to release 1,027 Palestinian prisoners in exchange for Shalit's release. Shalit was released in October 2011.