The pods are the result of the pollinated flowers. The seeds are developing in the pods, the pods will eventually dry out, open up, and a multitude of seeds will be ready to be planted. Yucca is not an aggressive genera as far as I know so what you do with the flower stalk is completely up to you. Simon