So today as I was leaving the parking lot from work my car started jerking as I came to a stop like it wanted to die or wasn't getting enough gas. I immediately pulled into a spot and turned my car off for a few minutes. I tried turning it back on and it acted like it didn't want to start so i turned it off then tried again and it started just fine and drove fine after that. On the way home I had onstar run a diagnostics check and no codes came back so i have no idea what could possibly be the problem. Where I park at work is on a slight decline but I had a little over a quarter of a tank and this has never happened before so I don't think it could be from that. Also my car is a 2009, has a little over 51k miles on it and all maintenance has been kept up on it.