Q.yucca plant
Our yucca plant, which has been kept outdoors over the winter, has now lost most of its leaves. Two of the branches still have a couple of green straight leaves, but the other 3 branches have lost all leaves and gone brown and soft at the ends.
Your yucca has sustained a winter injury. I would advise you to read and apply the knowledge in the section entitled "Dealing with frost damage, freeze damage and snow damage on yucca plants" in the following article:
https://www.gardeningknowhow.com/ornamental/foliage/yucca/yucca-cold-weather.htm