There is a valve before the pump that shuts off the main drain line.