Well, it depends, of course, on where you want to move - before or after the table or somewhere else; your question is a bit vague.
This code will pull you out of the table and place the text cursor right behind it:
Selection.Tables(1).Select Selection.Collapse WdCollapseDirection.wdCollapseEnd
source share