Mileage? Mods? Condition? You gave almost zero info so I'll assume you tried to re-start immediately and it didn't work? Did it crank and no-start? No crank? Crank slow?
Could you hear the fuel pump run (ignition on) before no-start?
The only sensors that can kill the engine is the Bank angle sensor, side stand switch (if you have one) or temp. Temp could do it but it would run noticeably poorly first. You'd have limited RPM and even single cylinder shut down well before the ignition kill temp. Unless theres a very rare anomaly of it reading max temp instantly. A datalog would answer that (ECMDroid).
Before you go googling a replacement sensors as a 100% guess, it's much more likely your ignition primary system is compromised. Fairly common on a 16 year old motorcycle that the connections and handlebar switches get corroded. Check fuses and relays (especially the IGN relay), sometimes just the act of wiggling to remove them and replace them is enough to help a 16 year old connection get continuity.
Wiring diagram here:
Buellmods.com
Ya, ya. Check your grounds...