A method of providing a user interface of a mobile terminal, comprising: permitting operation of the mobile terminal in a general mode, wherein during the general mode the mobile terminal is enabled to perform all preset functions; switching the operation of the mobile terminal from the general mode to a flight mode responsive to first input received at the mobile terminal, wherein during the flight mode some functions of the preset functions are non-executable functions and the other functions are executable functions, wherein the first input includes an input on a software button; displaying on a display of the mobile terminal, during a period of time of the flight mode, a menu screen that depicts the preset functions; receiving second input detected at the mobile terminal during a period of time of the flight mode, wherein the second input represents a user request for performing a selected one of the preset functions on the displayed menu screen; outputting a message when the second input represents a user selection for performing a communication function which is one of the non-executable functions, wherein the message requires release of the flight mode in order to perform the communication function and the communication function relates to at least one of placing calls, sending messages, receiving messages, or wireless Internet access; displaying the software button based on sensed output values of a velocity sensor and an altitude sensor so as to indicate to the user that the flight mode should be released; releasing the flight mode of the mobile terminal when the user selects or touches the software button, wherein the software button is displayed when the velocity sensor outputs a zero value and the altitude sensor outputs a value lower than a threshold value for releasing the flight mode, wherein the threshold value is set differently for different airports located at different altitudes. permitting operation of the mobile terminal in a general mode, wherein during the general mode the mobile terminal is enabled to perform all preset functions; switching the operation of the mobile terminal from the general mode to a flight mode responsive to first input received at the mobile terminal, wherein during the flight mode some functions of the preset functions are non-executable functions and the other functions are executable functions, wherein the first input includes an input on a software button; displaying on a display of the mobile terminal, during a period of time of the flight mode, a menu screen that depicts the preset functions; receiving second input detected at the mobile terminal during a period of time of the flight mode, wherein the second input represents a user request for performing a selected one of the preset functions on the displayed menu screen; outputting a message when the second input represents a user selection for performing a communication function which is one of the non-executable functions, wherein the message requires release of the flight mode in order to perform the communication function and the communication function relates to at least one of placing calls, sending messages, receiving messages, or wireless Internet access; displaying the software button based on sensed output values of a velocity sensor and an altitude sensor so as to indicate to the user that the flight mode should be released; releasing the flight mode of the mobile terminal when the user selects or touches the software button, wherein the software button is displayed when the velocity sensor outputs a zero value and the altitude sensor outputs a value lower than a threshold value for releasing the flight mode, wherein the threshold value is set differently for different airports located at different altitudes.