If you had to use heat then you let it cool in the air and add penetrating oil once it has cooled
You really don't want to be heating anything though when you dealing with precision machined parts like these High speed spindles even though your one did look pretty rough to start with, some penetrating oils work if there is corrosion and fretting, normally without the heat, you use a bigger lever with the right wrench if they are stuck, I have used up to a 6 foot extension to get the leverage needed to get some undone