Just found this little furry friend in my kitchen!

What do I do with it? It seems to like this jar I put it in. I did not put a lid on it and it can leave if it wants but it's making a web. Is it male/female?