Reversible linear solenoids feature two coils to give the movement from closed to extended. The voltage is applied and held on one of the two coils to give the back and forth movement of the shaft.
Once voltage is removed totally, the shaft will move freely in the solenoid body.