2008 cobalt

Keys get stuck in ignition lose all power have replaced ignition and shifter any ideas?

Huh? More info please. You have a new ignition switch and shifter, but still have no power? Did you replace the actual switch, or just the lock cylinder? Did the shifter come with a new interlock solenoid? Did anyone check fuses?