An ice maker is a small refrigeration appliance full of water, so the two priorities are draining every drop and protecting the compressor. Built-in models add a plumbed water line that must be shut off and disconnected.
Pro tip: Leave the lid cracked during storage so the interior dries and does not smell musty.
Watch out: Drain the reservoir completely, since standing water leaks and can grow mold during storage.