Hi,
Do you want to put the shape out of the Layout manually or programmatically?
After researching, I failed to find a feature to put shapes out of layout directly in PowerPoint.
For a workaround, you can add the shape to My Shapes
to store the shape firstly, and then remove the shape after clicking
STORYBOARDING ribbon-> Layouts group ->
Edit Layout button as followed to convert to Master View. At last, you can add the shape to the slide from My Shapes again.
If you want to do that programmatically, I'm afraid there is no API for this feature in PowerPoint Object Model.
Since your question is more related to client feature of PowerPoint, you can post in
Office IT Pro General Discussions for more effective responses.

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.