Hiya
You just do a straight dollar for dollar refi.
If you think you may use the equity at some point in the future - it could be worthwhile extracting at the same time as carrying out the refi (rather than submitting another application later on - which results in another credit file hit)...