Israel and Hamas completed their sixth exchange of hostages and prisoners on Saturday after their ceasefire survived its latest crisis.