The wheel cylinder transfers hydraulic pressure to physical motion by pushing on the brake shoes.
The brake shoes will return to their original position when there is no hydraulic force due to the return springs.