Just wanted to place this often utilised snippet on my Blog, as I often forget the syntax!

// To disable the rendering of the View use:
$this->_helper->viewRenderer->setNoRender();

// To disable the layout use:
$this->_helper->layout->disableLayout();