Cole Mantovani hit a sacrifice fly to tie the score and Collin Grant's hard grounder was misplayed, allowing the go-ahead run to score in Gunn's 4-3 victory over visiting Monta Vista in a SCVAL El Camino Division baseball game on Thursday.
David Clarke survived one shaky inning to throw a five-hitter for the Titans (9-9-1, 5-5).
Shiva Bucklin, who tripled home a run in the third, was hit by a pitch to start the three-run, sixth-inning rally. After Marvin Li singled to send Bucklin to third, Mike Panitchpakdi singled to make it 3-2 ahead of Mantovani, who collected a pair of hits on the day.
Clarke retired the side in order in the seventh, recording a pair of strikeouts, to finish the game.
The Titans remain 1 1/2 games behind Cupertino (14-4, 6-3), which beat Santa Clara 7-1 on Thursday.
The Pioneers have five league games remaining, including a scheduled home game against the Titans on May 3.
Gunn, which has games remaining against the three teams ahead of them in the standings, travels to Menlo for a nonleague contest at noon Saturday.
Menlo dropped a 2-1 decision in nine innings to host Mountain View in nonleague play Thursday.
Chandler Yu, who pitched the first eight inning, and Justin Nam combined on a three-hitter. Menlo (10-8) was held to one hit.
Junior Anan Subramanyan drove in the winning run for the Spartans (15-6-2), who won their second straight game via a walk-off hit.
Mountain View scored twice in the bottom of the seventh on Wednesday to beat Palo Alto, 3-2. The Spartans play at the Vikings on Friday at 4 p.m.
In a PAL Bay Division contest, Menlo-Atherton got the tying run to the plate in the bottom of the seventh inning before losing to visiting San Mateo 5-1.
Jake Albro pitched a strong six innings for the Bears (8-8-1, 3-3-1) , leaving the game trailing 2-1. Rio Zeleya drove in a run in the sixth to bring M-A within one of the Bearcats. Nick Prainito had two hits for the Bears, including a double.
M-A hosts Los Altos in a nonleague game at noon Saturday.