how do I revert to horizontal after using vertical on the same page

I am making a table in which the top table is typed vertically and the lower table is horizontal when attempt to change back in changes entire page

A page can have only one orientation: portrait or landscape.

Consequently you must layout the wider table in a landscape page and the narrower table in a portrait page.

This requires to use two page styles. I suggest built-in Landscape and Default Page Style (portrait).

You switch between page styles with Insert>More Break>Manual Break. The dialog which pops up allows you to select the next page style. You do the same to revert to the first page style.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!