Need to return shortcode text instead of the output

Another way is to use a shortcode to display shortcodes 🙂

add_shortcode('SH','shortcode_display_handler');
function shortcode_display_handler($atts = array(),$content=null){
    $content = str_replace("[","[",$content);
    $content = str_replace("]","]",$content);
    return $content;
}

Usage:

[SH]  [/SH]