NASHVILLE, Tenn. (AP) Dan Mullen prefers not to talk about what prompted his 14th-ranked Florida Gators and the Vanderbilt Commodores to spill off the sidelines.

Derek Mason says a Florida player said something to the Vanderbilt coach.

In the end, the Gators' big comeback overshadowed the near brawl in which both head coaches yelled at each other.

Jordan Scarlett ran 48 yards for the go-ahead touchdown on the first play of the fourth quarter, and No. 14 Florida rallied from an 18-point deficit to beat Vanderbilt 37-27 on Saturday to match the largest road comeback in school history.

The Gators (6-1, 4-1 Southeastern Conference) snapped a 26-game skid when trailing by 18 or more points. They scored 24 straight after Vanderbilt jumped out to a 21-3 lead midway through the second quarter, their first comeback win since Sept. 27, 2003, at Kentucky.

''Mistakes happen in football,'' Scarlett said. ''It's how you fight through adversity and how you respond, and I think we responded really well.''

The finish was nearly overshadowed by an incident in the second quarter on a Florida punt return with SEC Commissioner Greg Sankey on hand to watch.

An official held back Mullen as he yelled at Mason , who was near the Gators' sideline after checking on the Commodore defender whose helmet was knocked off by a hit by linebacker James Houston IV. Both teams spilled onto the field, drawing unsportsmanlike conduct penalties.

''We're not going to get into that publicly at all,'' Mullen said. ''Derek's a really close friend of mine, and I think we both, our sideline, we got to make sure our sideline we're cleaner in that situation, and I'm sure he probably thinks the same thing. But there's nothing carrying over from my end.''

The penalty cost the Gators their leading tackler; Vosean Joseph was ejected for his second unsportsmanlike conduct penalty of the first half. Two people escorted an emotional Joseph off the field.

Mullen and Mason hugged each other at midfield after the game. Mason said they talked. The Vanderbilt coach heard a Florida player say something to him and said he responded, then Mullen got mad.

''It's the referee's job to referee the game and not ours .,'' Mason said. ''I've got a lot of respect for Dan. He respects the process otherwise, so we keep it moving.''

Florida won its fifth straight this season. The Gators also beat Vanderbilt (3-4, 0-3) for the fifth straight year and 27th time in 28 games in this series.

Vanderbilt turned three turnovers into 17 points, and the Commodores also sacked Feleipe Franks twice and stripped him of the ball once. They also intercepted Franks once. Kyle Shurmur threw two touchdowns with his father, New York Giants coach Pat Shurmur, in the stands. Jamauri Wakefield also ran for a TD.

When Florida could hold onto the ball, the Gators simply dominated and outgained Vanderbilt 576-336 in total offense.

Scarlett finished with 113 yards rushing, and Lamical Perine added a TD run and 121 yards rushing for the Gators' first 100-yard rusher this season times two. Franks threw for a career-high 284 yards and two touchdowns. His second, an 11-yarder to Freddie Swain, padded the lead midway through the fourth quarter to seal the comeback.

TAKEAWAYS

Florida: The Gators struggled yet again with too many penalties. The costliest came when they left the sideline while Vanderbilt trainers tended to lineman Dare Odeyingbo and coaches started yelling at each other. That unsportsmanlike conduct penalty wound up being the second for Joseph. The linebacker had been flagged for unsportsmanlike conduct on Vanderbilt's third TD drive for slamming a running back to the ground after the whistle.

Vanderbilt: The Commodores start 0-3 in league play for a sixth straight season. It didn't help that they lost running back Ke'Shawn Vaughn early in the second quarter to an unspecified injury. Vaughn finished with one catch for 75 yards and a TD , and he ran seven times for 56 yards before being hurt.

POLL IMPLICATIONS

The Gators played sloppily enough with seven penalties for 89 yards along with the turnovers that holding their ranking will be good after their escape in Nashville.

UP NEXT

Florida: The Gators have an open date before their annual game with No. 2 Georgia on Oct. 27.

Vanderbilt: The Commodores visit No. 18 Kentucky.

---

Follow Teresa M. Walker at www.twitter.com/teresamwalker

---

More AP college football: https://apnews.com/tag/Collegefootball and https://twitter.com/AP-Top25

Copyright 2018 by AP. Any commercial use or distribution without the express written consent of AP is strictly prohibited.