Suppose a stranger steals 100$ from me, then has second thoughts and puts it

Read another response by Charles Taliaferro
Read another response about Punishment
Suppose a stranger steals 100$ from me, then has second thoughts and puts it back, before I ever come to look for or need the 100$. If discovered, should he be punished? Why or why not?