Cohen thought of the Yom Kippur War's freed prisoners of war when preparing to receive hostages from Hamas captivity.