The red, in-line, check-valve can be closed to stop water from back-flowing from the sand filters to the pump.
But first we turn off the pump, close the main intake valve, close the red check-valve leading up and out of the pump.