Yes, that's right.
It's called a 'dual-piloted' cylinder, where pilot pressure can be applied to either side of the piston.
The opposite side will be opened to the reservoir, so it's not hydraulically locked.
This is standard hydraulics.
Some cylinders are 'single-piloted, and rely on manual, spring or gravity return.
eg a fork lift can only push up. It can't push down, it relies on gravity to lower.
They only have one hose going to them.
Some cylinders are dual-piloted, like digger arms that can push or pull.
They need 2 hoses; one each end.