Using guerrilla tactics, Shivaji protected his legacy from the Mughals who were his main challengers.