key stuck in the ignition and no power on 2009 Chevrolet Cobalt

both keyless keychains went dead. unlocked car with the key and went to start it and everything went dead and i couldnt get the key out of the ignition

Asked by for the 2009 Chevrolet Cobalt
try pumping the brakes until the car releases the key that usually works for my 05 cobalt