I've had times when I couldn't get control of a fish to unhook it alone. Options I've used are:
A. letting the line go slack so the barbless hook comes loose.
B. pointing the rod at the fish and giving a yank to break the leader.