Police say a Burlington woman managed to get out of her car that was stuck on some railroad tracks just before it was hit by a freight train.