It is possible you had a power fluctuation from the power company. Some devices, like your modem, can be unplugged for a second or two and then plugged back in, and they are fine. Others, like computers, respond to voltage drops by shutting down.
I wouldn't worry about it unless it becomes a problem.