how did the union benefit from holding Maryland?
The union capital wasn't surrounded by hostile territory.
The Union capital was not surrounded by hostile territory.