Unity editor takes 100% CPU

When you say you closed both scene tabs, you mean the scene and the game tab? Do you have any extra packages installed? You might start looking there to see what packages are installed, and uninstall them one by one.

You might check out this thread: [bug] High CPU usage but it seems to be mostly related to the Hub version.