It's supposed top give you two castanets, display a thank you for playing message, and open a portal that takes you back to the start. I must've doinked it when fixing the boss's ai a while back. Thanks again for playing, I'm glad you enjoyed it.
Also impressive to beat it with the cowbell, congrats!