Eleven boys and their soccer coach rescued from a flooded Thai cave in a drama that gripped global audiences have left the temple on Saturday after spending nine days as Buddhist novices in memory of a volunteer diver who died during their rescue.