Cub's curiosity ends in a joint rescue between man and bear