To rewind a magnetic tape cartridge, use the mt command.
$ mt -f /dev/rmt/n rewind
The following example rewinds the tape in drive /dev/rmt/1.
$ mt -f /dev/rmt/1 rewind $