General Motors filed for bankruptcy in 2009 after facing financial troubles. As part of the bankruptcy process, the company was able to restructure its debts and obligations. GM was then able to emerge from bankruptcy and continue operating, with its stock returning to public trading.