The Sacrament of Anointing of the Sick includes more than just anointing. As with Baptism, there are a good many associated rituals that run alongside the main one.
The basic assumption of the Sacrament is that it’s probably being given to somebody in danger of death. Even if you’re not, you’re probably sicker than a monkey and really need Sacraments. So the full ritual of Anointing includes both the Sacrament of Penance (aka Confession) and then Holy Communion.
If the priest cannot communicate with a penitent, even in normal Confession, he can still absolve the person if he has reason to believe they are penitent. The sicker you are, the more generous the Church is when it comes to Sacraments. If you are totally unconscious, Father can still absolve you in Anointing. He does so conditionally to avoid any violation of your free will, just in case you’re really determined not to repent.(They don’t generally give Communion to unconscious people, because you wouldn’t want to choke somebody and there are other reasons. But you don’t have to be all there to receive Communion, either.)
When Father finishes the actual anointing with oil part, there’s also an Apostolic Blessing that is to be given to those in danger of death. It’s a plenary indulgence, so then you would totally be right and tight and ready to go. Or not go, if God so pleases to keep you here. Either way, you’re good.