After you destroy all of the small objects twice, the Mastermind will start pulling you his way. Keep pressing the jump button to break free. Once you succeed, the Mastermind will be bringing the surrounding Ceph corpses back to life, which you need to kill.