"I'm forever proud to have been a part of this," Harbaugh said. "It's been a tremendous four years, it's been a pleasure to work and serve for this organization."
Anquan Boldin caught a 76-yard TD pass and went over 1,000 yards receiving. Gore reached 1,000 yards rushing for the eighth time in 10 NFL seasons with the 49ers (8-8). The franchise's all-time rushing leader hopes to return to the only team he has known and the team has publicly expressed a mutual interest.
"It's bittersweet," Kaepernick said. "Coach Harbaugh's the coach that drafted me, he's the coach that chose to start me, he's the coach that stood behind me through everything."
Kaepernick said "most definitely" he can lead the Niners to the Super Bowl, even under a new regime.
Asked whether it was his choice to move on, Harbaugh said, "You work at the pleasure of the organization, that's what we all do."
Harbaugh sprinted off the Levi's Stadium field for the final time, cradling the game ball.
Gore, the franchise's all-time rushing leader, hopes to return to the only team he has known and the team has publicly expressed a mutual interest.
Harbaugh spoke briefly on the field to CEO Jed York before the game amid unconfirmed reports the coach is bound for alma mater Michigan. Harbaugh said "announcements" will be made.
"This whole season's over," coach Bruce Arians said. "It's a whole new one now. I told them right now, I don't want anybody moping on the plane. It's 0-0, and we're determined."
Floyd finished with eight catches for 153 yards. Arians went with Lindley under center after he originally planned to start rookie Logan Thomas before changing his mind.
Lindley was intercepted three times.
The No. 5 seed Cardinals missed the division title, too, as defending Super Bowl champion Seattle beat St. Louis 20-6 to win the NFC West and the overall top seed. The Cardinals play at Carolina next weekend, and Arians has been optimistic quarterback Drew Stanton will be back next week from a sprained right knee that got infected.
Lindley threw his first career touchdown pass on his 229th attempt with a 20-yard completion to Floyd on Arizona's opening drive.
Franchise rushing leader Gore provided a bright spot at $1.3 billion Levi's Stadium, where San Francisco finished 4-4. Gore, with his family in attendance and wearing his No. 21 jersey, became the 11th player in NFL history with eight 1,000-yard seasons and 20th player to reach 11,000 yards rushing.
"It's a blessing," Gore said, noting he has been emotional about his future. "I just wanted to finish it right. ... I cried today because when I first got here I was 21, 10 years ... Knowing this could be my last game here, it's tough because this is all I knew."
Copyright 2014 by The Associated Press