Hagel: Captive's life was in danger