Seems ignition switch is bad, change it AND MOST IMPORTANTLY if you are able to turn off your car by pulling off the battery terminal then your cars's alternator is also not working....get it checked and repaired, DONT drive with bad alternator if you dont want your car to stop in middle of road with total dead battery...