Car parks itself after driver is thrown out in an accident