49ers coach Jim Harbaugh cautions players to stay out of trouble

San Francisco 49ers quarterback Colin Kaepernick passes during NFL football minicamp in Santa Clara, Calif., Thursday, June 19, 2014. (AP Photo/Jeff Chiu) (The Associated Press)

San Francisco 49ers linebackers Ahmad Brooks, left, and Corey Lemonier practice against each other during NFL football mini-camp in Santa Clara, Calif., Wednesday, June 18, 2014. (AP Photo/Jeff Chiu) (The Associated Press)

San Francisco 49ers coach Jim Harbaugh delivered a simple but emphatic message to his players as they gathered in a circle at the end of the team's three-day minicamp.

Following an offseason in which three key players were either arrested or were part of an investigation by police, Harbaugh warned the 49ers to be more aware of their circumstances and who they hang out with.

Quarterback Colin Kaepernick was one of the three players involved in off-field incidents. Although Kaepernick was never charged and was cleared of any wrongdoing stemming from a possible sexual assault investigation in Miami, he said the incident left him more cautious about his life away from football.