A judge noticed the accused was 'rocking' and making 'humming noises'