Based on the story account, seems like Holy Spirit had left John the Baptist for quite some time. And John doesnt seem to be able to invoke Holy Spirit anymore for guidance.
Despite not able to communicate with Holy Spirit anymore, John seemed to have a strong hunch that a bird dove that he saw was infact Holy Spirit.