To know whether insert shortcode in custom meta box

Shortcode won’t automatically execute. I order to achieve your result you need to apply a filter. When you echo the value of your metabox in frontend do it like this:

echo apply_filters( 'the_content', YOUR_METABOX_VALUE_HERE );

this way contact form shortcode will execute and form will show.