Now you know for next time!
Be aware not to leave the printer unattended while the nozzle is heated and occassionally scraping the inside of the nozzle helps too.