A Near-Disaster Dodged By Orbital Dynamics