The rice cooker automatically switches off after cooking the rice and switches to heat maintenance mode, which lasts up to 10 hours before automatically switching off. This means that the device finishes cooking the rice and maintains the heat for an extended period without requiring manual intervention.