Inverter , in particular for an electric machine , comprising a DC link, a plurality of voltage-controlled switching elements being arranged into half bridges, an active region detection unit configured to detect an operation of a switching element in an active region and a controller with a pulsing unit configured to control the switching elements to provide a multiphase AC output in a pulsing mode of the switching elements , wherein the controller comprises a short circuit unit configured - to put the switching elements into an active short circuit mode, if the operation in the active region is detected by the active region detection unit , wherein if the switching element , for which the operation in the active region has been detected, is connected to the high potential of the DC link, the switching elements of the inverter are put into a full active short circuit mode, which includes switching the switching element , for which the operation in the active region has been detected, to a blocking state and wherein if the switching element , for which the operation in the active region has been detected, is connected to the low potential of the DC link, the switching elements of the inverter are put into a partial active short circuit mode, which includes switching the switching element , for which the operation in the active region has been detected, to a blocking state and - to set a value of a voltage provided to a control terminal of a switching element connected to the low potential of the DC link, the provided voltage having a first absolute value in the pulsing mode and a second absolute value being higher than the first absolute value in the active short circuit mode, wherein the switching elements adopt the full active short circuit, when all switching elements connected to the high potential are switched to their blocking state and all switching elements connected to the low potential are switched to their conducting state, wherein the partial active short circuit is adopted when the switching elements of the half bridge having the switching element , for which the operation in the active region has been detected, are in the blocking state and, in the other half bridges, the switching elements connected to the high potential are switched to their blocking state and the switching elements connected to the low potential are switched to their conducting state. - to put the switching elements into an active short circuit mode, if the operation in the active region is detected by the active region detection unit , wherein if the switching element , for which the operation in the active region has been detected, is connected to the high potential of the DC link, the switching elements of the inverter are put into a full active short circuit mode, which includes switching the switching element , for which the operation in the active region has been detected, to a blocking state and wherein if the switching element , for which the operation in the active region has been detected, is connected to the low potential of the DC link, the switching elements of the inverter are put into a partial active short circuit mode, which includes switching the switching element , for which the operation in the active region has been detected, to a blocking state and - to set a value of a voltage provided to a control terminal of a switching element connected to the low potential of the DC link, the provided voltage having a first absolute value in the pulsing mode and a second absolute value being higher than the first absolute value in the active short circuit mode, <EOS>