How can I quit from a Active Form

Please provide full action code