Is It Illegal To Take Money Left At An ATM?

What happens if you leave money in the ATM?

.

How long before money goes back into cash machine?

Can ATM money be traced?

Is it illegal to take money from a wallet you found?