How do i get of off the console?

How do i get off the console, cause i dont know how i got on and i dont know how to get off

F1 key or if i recall correctly you can also type quit/exit in the console to make it disappear