If it's sentient (which I don't think it is, but for argument's sake), it could wake up for that brief period while it's running, experience something, output an answer, and then go back to sleep. Think about a mind running in a time-stepped fashion. I don't think being continuously running is a requirement for sentience.
Sentience is defined as the ability to have experiences or feel emotions, not the ability to have agency in the world. So while it's running and computing the result of a prompt, it could experience something or an emotion. Then when its done it stops experiencing anything. If you think about it, human experience isn't continuous either, e.g. you don't dream the entire time you're sleeping, or when you're under anesthesia.
Hammers don't have neural networks in them, and the connections between the atoms are fairly simple, so that's quite different.
Again, because I feel like I sound like a lunatic, I don't think this is true with current LLMs. But I'm just making the point that agency (what you're describing) and continuity of experience are different than sentience.