I'd like to get out of being President. (At the present moment, I AM President.) I don't like being President.
"Am" and "being" are both forms of "to be."
"Being" is used here as a gerund (noun). Structurally, it's the same as saying, "I'd like to get out of jail." But as a verbal (specifically a copular verbal), i