Which fort did Union forces retreat to after the battle?