A method and apparatus for operating a vehicle under manual or automatic steering mode is disclosed herein. An estimation of an attraction domain of stability is calculated for the vehicle using the vehicles current position and orientation information relative to a target trajectory. If an unstable estimation of the attraction domain is determined, then the vehicle is operated in manual mode under control of an operator.