In one of Bangladesh’s most tense and closely watched elections, the Army’s disciplined neutrality helped steady a fragile democratic process without stepping beyond its mandate.