It could have been a false awakening.

In either case, don't worry. Your house is not haunted or anything.