I walk up to a cashier, and he by accident drops $10 in my shopping cart (without me noticing). Then he proceeds to inconspicuously take those $10, look at it, and silently put it back in the bag (again, without me noticing). I discover those $10 only when I get home. I had no idea it was even there, and the store employee definitely looked through every single item in my bag and saw those $10, but just decided to put it back there. Did I steal those $10?
I struggle to even call it something like "theft by accident", which would be if the cashier forgets to scan an item because they didn't notice it. In my hypothetical scenario, the cashier noticed and picked up the item.