A blocking oscillator or Joule thief relies on the fact that Q1 will first let current flow as soon as VCC is applied until the flux stops rising at which point the base current drops which blocks the current in the secondary.
svg schematics by matt-chv is licensed under CC BY-SA 4.0