I agree with
strych9 that it must think the key is still in the ignition cylinder. if it happens again try taking the key in and out of the cylinder a few times, it might break it loose. if this fixes it make sure to tell your dealer and will save some time in diag.