Method for bringing a textile machine to a controlled standstill in a condition without power supply or with reduced or disturbed power supply, the textile machine having at least two axes provided to be driven in synchronization by respective separately controlled electric motors (M 1 -M 5) connected to a common intermediate voltage circuit (common DC bus), and in which at least one electric motor acting as power generator can supply electric power to at least one other electric motor via the common DC bus, wherein the voltage on the common DC bus is controlled by varying at least two variables in such a way that the value of this voltage follows a previously defined curve while the textile machine is being brought to a standstill, characterized in that at least one of said variables is a motor parameter (I mot, V mot, φ mot, T mot) of one or more electric motors, and that the voltage on the common DC bus is controlled by a cascade control comprising: ▪ a relatively slow control loop in which repeatedly or continuously - a voltage difference (ΔV) is determined, being the difference between a measured instantaneous value (V m) of the voltage on the common DC bus and the desired value (V des) at that moment of the voltage on the common DC bus corresponding to the previously determined curve of the voltage, - the voltage on the common DC bus is varied in such a way that the voltage difference (ΔV) is reduced, and - the energy flow (E des) required to bring the voltage difference (ΔV) to zero is determined, and ▪ a relatively fast control loop in which repeatedly or continuously - the actual value of the energy flow (E act) supplied by the energy-dominant axis is calculated from the measured value (v) of the speed of at least one axis and from one or more motor parameters of an electric motor driving the axis, and - one or more motor parameters (I mot, V mot, φ mot, T mot) of at least one electric motor driving an axis is varied in such a way that a determined difference (ΔE) between the required energy flow (E des) and the calculated value of the energy flow (E act) supplied by the energy-dominant axis is reduced. ▪ a relatively slow control loop in which repeatedly or continuously - a voltage difference (ΔV) is determined, being the difference between a measured instantaneous value (V m) of the voltage on the common DC bus and the desired value (V des) at that moment of the voltage on the common DC bus corresponding to the previously determined curve of the voltage, - the voltage on the common DC bus is varied in such a way that the voltage difference (ΔV) is reduced, and - the energy flow (E des) required to bring the voltage difference (ΔV) to zero is determined, and - a voltage difference (ΔV) is determined, being the difference between a measured instantaneous value (V m) of the voltage on the common DC bus and the desired value (V des) at that moment of the voltage on the common DC bus corresponding to the previously determined curve of the voltage, - the voltage on the common DC bus is varied in such a way that the voltage difference (ΔV) is reduced, and - the energy flow (E des) required to bring the voltage difference (ΔV) to zero is determined, and ▪ a relatively fast control loop in which repeatedly or continuously - the actual value of the energy flow (E act) supplied by the energy-dominant axis is calculated from the measured value (v) of the speed of at least one axis and from one or more motor parameters of an electric motor driving the axis, and - one or more motor parameters (I mot, V mot, φ mot, T mot) of at least one electric motor driving an axis is varied in such a way that a determined difference (ΔE) between the required energy flow (E des) and the calculated value of the energy flow (E act) supplied by the energy-dominant axis is reduced. - the actual value of the energy flow (E act) supplied by the energy-dominant axis is calculated from the measured value (v) of the speed of at least one axis and from one or more motor parameters of an electric motor driving the axis, and - one or more motor parameters (I mot, V mot, φ mot, T mot) of at least one electric motor driving an axis is varied in such a way that a determined difference (ΔE) between the required energy flow (E des) and the calculated value of the energy flow (E act) supplied by the energy-dominant axis is reduced.