How would the planet move if the force of its attraction to the Sun disappeared at some point?

The planet would continue to lose by inertia, those evenly tangential to the trajectory at the moment of the disappearance of the force.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.