On Amtrak I do not think points can post unless the ticket gets processed. You can try mailing in the ticket or giving it to station personnel.
But if the ticket is not collected, it will not be attributed to any travel, and merely be viewed as "unearned revenue".