What do you do if you write yourself into a corner?
go back to the part before you started going into the corner, (remove the part after that) and continue from there. But, if this fails too many times, you will have to accept it as a corner piece