Freezing it to prevent any moulds starting to grow would be preferable to microwaving it. Even refridgerating the coffee can help to extend the time scale to 2-3 days instead of 24 hours. The key is to keep the coffee in a condition wherby any mould spores won’t prosper, so the cooler the better.