Force Keynote in presentation mode and quit after last slide
You could use an AppleScript to do this and run it with osascript...

osascript &lt;&lt; EOF
if running of application "Keynote" is true then
    tell application "Keynote"
        activate
        try
            if playing is false then start the front document
        end try
    end tell
end if
EOF