I drove my car from work and when I get home , the key refusex to come out. I left it and went to bed. In the morning, the battery became flat Nd the key came out. I t jump started the car and drove fircan hour but the same thing happened, the key refused to come out. When the battery got flat ,the key came out. I am confused.
I’d say you have a bad ignition switch, and that key likely won’t come out.
I’d take it to a shop. Since it involves a key, you may have to take it to a dealer for repair. Call around and ask.