A method and system for detecting a collision state between various elements of an x-ray imaging apparatus and/or a patient when they occur and resolving the collision state by reversing the movement of the x-ray imaging apparatus along the same path traveled which led to the collision state in the first instance.