Close them up enough that bees can't get in but not so much that mold can start. The drawn comb will be damaged as it's robbed. A dead out with honey can be used (assuming you know why they died and it's not contagous) to supplement a hive that's low on stores. I did that last year when I knew there was an empty frame I would replace it with a "dead-out" one with stores.