Dog's rescue instincts emerge as pool cover closes