Prospective randomized controlled clinical trial. Only individuals on prolonged weaning will be enrolled. They will undergo IMT or will be managed in a conventional manner. The primary endpoint will be successful weaning. In addition, other variables such as free time off ventilator on ICU after weaning and muscle strength will be measured. In addition, mortality in the ICU, inside the hospital and after discharge will be followed for one year after study entrance.