HOW TO DISPOSE OVERCOOKED SUGAR WAX

guys my first attempt at making sugar wax reaulted in me overcooking it im gonna try it again but the thing is...

THE SUGAR HAS HARDENED IN MY GLASS CONTAINER AND ITS NOT COMING OUT

please help how do i take this out i tried putting boiling water on it only the upper layer gets soft it does not get fluid enough to flow out of the container it just gets soft and mushy and btw not all of it only the upper layer gets soft and hardens instantly when i take some of the wax out

it hardens instantly! im so frustrated i also microwaved it but i have broken glass in the microwave before so i didnt do it for very long