Term: caught with his hand in the cookie jar
Example: uncle joe got caught with his hand in the cookie jar while trying to grab a toy intended for the kids
Definition: seen by somebody while trying to take a thing that he/she was not entitled to