An ordered hexagonal closed-packed nanopillar array is fabricated on GaN. A metal coating is then applied to encapsulate the pillars for promoting optical confinement within the cylindrical cavity. Room-temperature lasing at 373 nm is observed under pulsed excitation, at a lasing threshold of 0.42 MW/cm2. With pillar diameters of around 980 nm, the number of modes overlapping the emission spectrum is reduced, giving rise to single-mode whispering gallery stimulated emission. Finite-difference time-domain simulations are carried out for the prediction of resonant frequencies and electric field patterns corresponding to the resonant modes.