He thinks of the snake as king in exile who has to be crowned again as he was still uncrowned in the dark world of the earth. But after hitting him, the snake had gone and the poet had missed his chance to enjoy the company of one lords of life. He regretted and felt that he must make amends for that sinful act of his.
Simile – (a) Like a king.
(b) Like a king in exile.