The t-weof command writes an EOF mark at the current position on the attached magnetic media. It also causes a flush of the last buffer written. This is important to ensure any partially filled buffer was written onto the tape.
t-weof
t-read command, t-wtlbl command, Tape handling commands