During a battle on Random Double Battle, I sent my heracross in after one of my pokemon had been ko-ed and it died to rocks. I still had pokemon remaining but I was unable to send in another poke until the next turn
http://replay.pokemonshowdown.com/randomdoublesbattle-139985350