It is called "With Me", performed by Crush 40.
It closes out the game on the same note the series had been using for years — a driving rock track over the last fight, which for a title as divisive as Sonic and the Black Knight ended up being one of the more universally agreed-upon highlights.