Gold Glove 3B Matt Chapman will stay in San Francisco, agreeing to a six-year extension and giving up his chance to become a free agent.