Positive feedback
To make an oscillator, the output cavity can be coupled to the input cavity(s) with a coaxial cable or waveguide. Positive feedback excites spontaneous oscillations at the resonant frequency of the cavities.