The computer shut down while it was busy doing something? If there wasn't a
power failure, it sounds like it was overheating and shutdown to avoid
burning up the CPU. Have you checked the fans lately to see that they are
working? Cleaned all dust bunnies away from air vents and, if you're not
squeamish about it, away from the internal hardware?