My car will not start and there is not wrong with the battery...can not go into gear. on 2003 Mercedes-Benz C240

Put gas in car while engine was on and car shut down. I tried to start the car, with no success. There was no problem with the battery. I tried to press the brakes but the pedal was stuck and I was not able to shift the car in neutual. I let the car cool down, but it still would not start. Can anyone relate?

Asked by for the 2003 Mercedes-Benz C240