From Middle English mone schyne, mone-schyne, moone shone; equivalent to moon + shine. Illegally distilled liquor is so named because its manufacture may be conducted without artificial light at night. The verb sense is a back-formation from moonshiner.