Shock could clear a cloudy pool if the cause of the cloudiness is a low level of chlorine. Always test the cloudy water before adding shock to be sure that low chlorine really is the cause.