Gravity. Same thing happens to me if I don't make some changes before working on the filter. I usually set multiport to recirculate and limit suction to farthest skimmer before opening pump basket lid for this very reason. A check valve between the pump an filter would also help.