Israeli troops have been gradually withdrawing from Lebanese territory they captured during the month-long war with Hezbollah militants that ended August 14 .