Revert back to original tty and server.