That is what you think. When you fall asleep your brain stops remembering stuff so you think you were just sitting there trying to fall asleep when in reality you likely just went into a shallow sleep and woke up later very easily without thinking you fell asleep.