I don't have time to look it up right now, but I believe it HAS to go back to the sub panel. What comes to mind is the rule that all conductors of a circuit, including phase conductors, neutral, and EGC, must be in the same conduit.
Are you asking whether it has to be landed in the sub panel, or whether it can be allowed to be run separately and not go to the sub panel at all?