The best way is to let your project play until everything fades into silence.
And the way to achieve this is to select a clip - any clip - and extend it's right hand edge up to the point where you have silence at the end of the song.
Then, Sonar will continue to play for the entire length of your song, including reverb tails etc, and they won't intrude into the beginning of your export.