Mac Exit Full Screen

I maximised the application window on my Mac and cannot for the life of me find out how to return to window mode. Any advice?