Srimad Bhagavatam Canto 10, Chapter 43, Text 07

SB 10.43.7

sankruddhas tam acaksano
 ghrana-drstih sa kesavam
paramrsat puskarena
 sa prasahya vinirgatah
 
Translation: 
 
Infuriated at being unable to see Lord Kesava, the elephant sought Him out with his sense of smell. Once again Kuvalayapida seized the Lord with the end of his trunk, only to have the Lord forcefully free Himself.
 
Purport: 
 
Lord Krsna allowed the elephant to seize Him so that the beast would be encouraged to keep fighting. Once Kuvalayapida had thus become proud, Lord Krsna again thwarted him with His superior potency.
Srimad Bhagavatam Canto 10, Chapter 43, Text 06
Srimad Bhagavatam Canto 10, Chapter 43, Text 08