Brumaire wasn't a military coup. The conspiracy was already in motion before Napoleon landed from Egypt. The originators were politicians and Napoleon (after a number of other choices fell through) was chosen because he was considered the "most civilian" of the Republican generals available. Sieyes was supposed to have a constitution in his pocket to put in place after Brumaire. Everyone was surprised that he didn't. Napoleon didn't "end the Revolution." The Revolution was over long before Brumaire.