South Africa take command after collapse