Exiting from Minicom on a shell script

This is what I've tried:

#!/bin/sh
send sh
send showifs
send exit
! killall minicom

My problem is that for some reason when I do this it doesn't give me the results of the prior commands sent like showifs

So I suspect my syntax is wrong.

*nudge*

Anyone have a suggestion?

Thanks!