I think, the »go to last known position« function simply goes, where the next waypoint is set to, regardless, if the ufo is currently on the ground or not. That way with a flying ufo, it will go, where the ufo is heading right now. But if landed, it will go, where the ufo will disappear/take next waypoint after its current step, being on the ground.