Depends on the car. Go and buy a book on your car, if you really want to know the details.
I know in my Taurus there are multiple sensors. Even if you have the car turned off and you pull the fuel filter, and the fuel line loses pressure, the fuel pump will kick on and drain your tank on you.
The idea is to remove any bubbles before the car starts so that your fuel injectors are ready to go.
You either have to pull the circuit or disconnect the battery to avoid this. No power = no pumps or sensors.