How to disable GUI in Ubuntu

How to disable GUI in Ubuntu