User LED turns on when unexported

When I boot the user LED is off. If I then export and unexport GPIO27 it turns on, although not at full intensity. How can I get the LED off when unexported?

echo 27 > export
echo 27 > unexport