I will put Chaos into fourteen lines
And keep him there; and let him thence escape
If he be lucky; let him twist, and ape
Flood, fire, and demon — his adroit designs
Will strain to nothing in the strict confines
Of this sweet Order, where, in pious rape,
Through poetry, she is restraining Chaos, as one would a violent natural force like a flood or fire. Through the verb she is also  subtly comparing him to an ape–another strong natural force. 

I will put Chaos into fourteen lines