While learning on Memrise course (Top 10,000 words, Part 1), I found that отоходить/отойти shows the meaning of not only leaving by foot, but also leaving by train. The user-based Memrise course often includes the course creator's misunderstanding or typos, so I checked my dictionary, and found that отоходить/отойти also includes the meaning with "(a vehicle) depart(s) off a stop" (it is not English dictionary so I translated).
But there is also a verb that is used for 'going by vehicle', with 'ехать' family, in which case, отъезжать/отъехать. So if отоходить/отойти also has the meaning, what is the difference from отъезжать/отъехать and when to use the one over the other?