The thief told the cashier to give him all the money in the machine.
The thief eventually lost them.
The cashier gave the thief the keys to the machine.
Within ten seconds  a policeman came into the store and the thief ran away.