This phrasing feels misleading. There isn't a ratchet system. The tendon that curls the toes or "holds on" is pulled by gravity so no muscles are used holding the toes closed in the hanging position. To let go the bats use muscles to relax this tendon and uncurl their toes.
Birds have something similar to not drop from a branch while sleeping. That's why their toes in death are curled together, those muscles are relaxed, so to speak