How can one get cash out of a home mortgage?

One can get a cash out on the mortgage on their home when one plans to refinance. The refinanced mortgage is higher than the original mortgage, so one is able to keep the leftover cash.