Israel never left Gaza. they continued to patrol the fence line, just as prison guards to the perimeters of the prison, to enter as desired and arrest people for suspected or alleged "terrorist" activities. just as they do today.
trashy the deal Israel kept was to keep Gazans locked up in a ghetto as a means of accessing very cheap labour and to victimise the Muslim population.
Netanyahu even ensured Hamas was well supported by Israeli funds.