This has happened to me more than once and I can pretty much guarantee I didn't depress the trainer switch (although that's a pretty good guess on why it may happen.
Does make you nervous for a few flights though, just in case it happens.
I did actually lose all signal with my Spektrum once, don't know why but the plane went in but with minimal damage.
Batteries were low-ish but well before any batt alarm.