Urban legend. Not true at all. Nothing can kill a trip except time. Not even Xanax - it will just help you relax and kill the panic and anxiety.
The caffeine part is particularly bad advice, as a stimulant is the last thing you want to ingest when you are already highly agitated.