Close active windows from the Terminal
Use osascript to call an AppleScript from the command line.

Save the following script or one like it somewhere, then run osacript [path to file]:

tell application "Numbers"
    activate
    close every document without saving
end tell