At the end of your sub, after jr ra you add a line with the original value of your hook, unless you hooked with a jr ra (j) but you used a jal :P
Guess you dont have to but prevents freezing