Thank you for your reply.
Yes, it is downhill from the pool. The reason I think this will happen is when I clean the pump basket, water rushes out unless I turn the Jandy valve off at “Inlet”. I guess I can plug the hole in the skimmer but I have no idea how to stop the water from the main drain.