Sanchez went 1 for 4 with an RBI double against Tampa Bay, but the Marlins lost 4-2 and fell to 0-6 on their homestand.
Sanchez was batting .197 with one home run in 36 games when he was demoted May 19. In 19 games with New Orleans, Sanchez hit .310 with three home runs and 10 RBIs.
"I figured out a couple of little things, nothing too major," he said. "I was getting repetitions. That's it."
Sanchez was an All-Star for the Marlins last year, but he said being demoted wasn't a shock.
"I wasn't producing like I should and like I have in the past, and so that's what happens," he said. "It's never what you've done in the past. It's what you're doing right now to help the team out. As ballplayers we know that, and it's something you can't get mad about."
Sanchez rejoined a team that has gone 5 for 50 with runners in scoring position during its homestand.
"I've been watching the games on TV," Sanchez said. "The last couple of games have been tough, but that's going to happen. The team was on a roll there -- just a couple of bad games in a row."