Tie the back end of the main halyard to the top of the ring where the front end of the halyard attaches. Now you have a loop like a drapery pull cord. When it is time to remove the ring from the hook, pull on the lazy end of the halyard to bring the top of the ring back and away from the hook.
GARY