However , the theater was closed on royal order in 1792 and it became a warehouse .
In 1792 it was closed and became a warehouse .