President Cyril Ramaphosa declared the summit in Johannesburg closed on Sunday by banging a wooden gavel on a block.