US officials say the incident ended peacefully after several hours as the Iranians unhooked the tow line to the drone.