===== 3.4 deselect Method(s) ===== When the Java Card RE receives a SELECT FILE APDU command in which the name matches the AID of an applet, the Java Card RE calls the **Applet.deselect** method of the currently selected applet or, if concurrently selected on more than one logical channel, its **MultiSelectable.deselect** method. For more details see [[4.2_Multiselectable Applets| Section 4.2, Multiselectable Applets]]. Applet deselection may also be requested by the MANAGE CHANNEL CLOSE command. For more details, see [[4.6_Applet Deselection| Section 4.6, Applet Deselection]]. The **deselect** method allows the applet to perform any cleanup operations that may be required to allow some other applet to execute. The **Applet.selectingApple**t method shall return **false** when called during the **deselect** method. Exceptions thrown by the **deselect** method are caught by the Java Card RE, but the applet is deselected.