How do I close a partdoc that when I dont' know the partname?

I have a unsaved part open, how do I close that?    

SolidworksApi macros