The H1B terminates in a green card, after six years, quota willing. In fact, you don’t get an option in the matter. Compared with a true temporary work visa, like China’s Z visa, which can be renewed on every year indefinitely and doesn’t have any oath to permanent residency.