If the frosting won’t come out of the piping bag, it most likely happened because a large cookie ‘crumb’ got stuck in the tip. If this happens use a toothpick (or something similar) to break apart the crumb inside the tip.