Not sure about the shares but I remember the media was blaming CDS contracts for forcing the bankruptcy. The bondholders held CDS contracts as insurance against a GM default so they had no incentive to negotiate and avoid bankruptcy. I believe in the end the debt was swapped and the CDS was not honored much like they are attempting with the Greek situation.