Will the leaves grow back if you cut the stem (limb) off just below where the leaves grow out of the limb?
Pruning a Yucca Cane?
As yuccas age and If the whole head becomes unsightly, cut it down to a suitable height, and wait for the new heads to grow - usually three or four new heads will appear. Be careful not to over water now. Less foliage means less water.