Judge the growth made after the change
Improving light can help future growth become more compact, but existing long stem sections do not simply shrink. Introduce stronger exposure gradually and allow time to assess the new leaves or tips.
If reshaping is eventually needed, work with a healthy, identified plant and use an appropriate pruning or propagation method. Avoid cutting heavily while roots are failing. Reduced watering cannot fully compensate for a growing position that remains too dark.
FAQ
Should I prune immediately after moving it into brighter light?
Not automatically. First establish sound growth and check whether the plant tolerates the intended exposure.
Source
RHS: Growing houseplant cacti and succulents
Related plant reading
Succulent Growing Conditions: Identity Before Climate Claims